Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 89.11 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 62.43 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01257/0.1399, allocations: 9.495 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009625/0.1496, allocations: 3.819 MB / 493.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.1517, allocations: 55.88 kB / 493.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.1571, allocations: 2.753 MB / 496.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.1617, allocations: 1.622 MB / 497.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.1639, allocations: 0.7173 MB / 498.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006948/0.1709, allocations: 3.882 MB / 0.4908 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004953/0.1759, allocations: 3.679 MB / 0.4944 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.1785, allocations: 1.406 MB / 0.4957 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.1813, allocations: 1.896 MB / 0.4976 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007335/0.1821, allocations: 312 kB / 0.4979 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.1844, allocations: 1.182 MB / 0.499 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001873/0.1863, allocations: 1.742 MB / 0.5007 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.1889, allocations: 2.086 MB / 0.5028 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2572/0.4461, allocations: 6.609 MB / 0.5092 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4461, allocations: 0 / 0.5092 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4461, allocations: 1.094 kB / 0.5092 GB, free: 21.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003074/0.4464, allocations: 0 / 0.5092 GB, free: 21.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01748/0.4639, allocations: 4.464 MB / 0.5136 GB, free: 19.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.464, allocations: 10.62 kB / 0.5136 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002641/0.4667, allocations: 0.6601 MB / 0.5142 GB, free: 19.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09025/0.5569, allocations: 7.033 MB / 0.5211 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.5663, allocations: 2.634 MB / 0.5237 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.5669, allocations: 214.9 kB / 0.5239 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.569, allocations: 294.9 kB / 0.5242 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.5901, allocations: 8.665 MB / 0.5326 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5904, allocations: 41.97 kB / 0.5327 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.5917, allocations: 137.8 kB / 0.5328 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0028/0.5945, allocations: 1.654 MB / 0.5344 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.6076, allocations: 7.088 MB / 0.5413 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.6565, allocations: 33.37 MB / 0.5739 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/0.662, allocations: 2.376 MB / 0.5763 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.6642, allocations: 1.225 MB / 0.5774 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/0.6646, allocations: 329.9 kB / 0.5778 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.6647, allocations: 44.25 kB / 0.5778 GB, free: 1.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 6.703e-06/0.6647, allocations: 0 / 0.5778 GB, free: 1.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.03151/0.6963, allocations: 10.49 MB / 0.588 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.6965, allocations: 203.3 kB / 0.5882 GB, free: 7.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008534/0.705, allocations: 3.577 MB / 0.5917 GB, free: 3.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.7054, allocations: 49.45 kB / 0.5918 GB, free: 3.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00278/0.7082, allocations: 2.831 MB / 0.5945 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/0.7091, allocations: 0.5585 MB / 0.5951 GB, free: 72 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/0.7108, allocations: 1.062 MB / 0.5961 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.711, allocations: 305.1 kB / 0.5964 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.7141, allocations: 1.702 MB / 0.5981 GB, free: 12.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/0.72, allocations: 5.065 MB / 0.603 GB, free: 6.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.7306, allocations: 7.331 MB / 0.6102 GB, free: 13.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/0.7308, allocations: 40 kB / 0.6102 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01741/0.7482, allocations: 6.73 MB / 0.6168 GB, free: 7.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.7484, allocations: 56 kB / 0.6169 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.7487, allocations: 121.9 kB / 0.617 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.7499, allocations: 429.4 kB / 0.6174 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.7545, allocations: 1.216 MB / 0.6186 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.7601, allocations: 3.601 MB / 0.6221 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/0.7648, allocations: 287.6 kB / 0.6224 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/0.7661, allocations: 328 kB / 0.6227 GB, free: 1.043 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 640 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004925/0.771, allocations: 1.955 MB / 0.6246 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/0.7718, allocations: 300.1 kB / 0.6249 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.7762, allocations: 1.886 MB / 0.6267 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.7762, allocations: 16 kB / 0.6267 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.7762, allocations: 4 kB / 0.6267 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.7763, allocations: 11.98 kB / 0.6267 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7901, allocations: 5.778 MB / 0.6324 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.7901, allocations: 0 / 0.6324 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.7913, allocations: 215.6 kB / 0.6326 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008135/0.7921, allocations: 258.6 kB / 0.6328 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.7923, allocations: 27.98 kB / 0.6329 GB, free: 6.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004025/0.7963, allocations: 3.17 MB / 0.636 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7963, allocations: 0 / 0.636 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.8029, allocations: 3.943 MB / 0.6398 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.8041, allocations: 349 kB / 0.6401 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007341/0.8048, allocations: 28 kB / 0.6402 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.8065, allocations: 67.98 kB / 0.6402 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003315/0.8068, allocations: 100.4 kB / 0.6403 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.807, allocations: 42.61 kB / 0.6404 GB, free: 14.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00533/0.8123, allocations: 2.242 MB / 0.6426 GB, free: 12.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8123, allocations: 0 / 0.6426 GB, free: 12.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007055/0.8194, allocations: 0.8149 MB / 0.6433 GB, free: 11.63 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008555/0.828, allocations: 4.582 MB / 0.6478 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009571/0.8376, allocations: 4.602 MB / 0.6523 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.8377, allocations: 0 / 0.6523 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.8398, allocations: 1.173 MB / 0.6535 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.8429, allocations: 416 kB / 0.6539 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08136/0.9243, allocations: 41.95 MB / 0.6948 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005896/0.9302, allocations: 3.034 MB / 0.6978 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005012/0.9352, allocations: 1.708 MB / 0.6995 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003264/0.9385, allocations: 1.666 MB / 0.7011 GB, free: 9.895 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.9386, allocations: 0 / 0.7011 GB, free: 9.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/1.274, allocations: 59.64 MB / 0.7593 GB, free: 169.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.99, allocations: 8.281 kB / 0.7593 GB, free: 169.1 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)