Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001702, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247 MB, free: 10.46 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.2309/0.2309, allocations: 46.13 MB / 344.4 MB, free: 11.46 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.002156/0.002156, allocations: 79.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01972/0.394, allocations: 11.97 MB / 0.5423 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.4103, allocations: 4.751 MB / 0.5469 GB, free: 272 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/0.4143, allocations: 80.38 kB / 0.547 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008562/0.4229, allocations: 2.986 MB / 0.5499 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008282/0.4312, allocations: 1.969 MB / 0.5518 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.4346, allocations: 0.8381 MB / 0.5526 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.4413, allocations: 4.119 MB / 0.5567 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.4457, allocations: 3.297 MB / 0.5599 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.4488, allocations: 1.748 MB / 0.5616 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.4525, allocations: 2.169 MB / 0.5637 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009995/0.4535, allocations: 312 kB / 0.564 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.4565, allocations: 1.194 MB / 0.5652 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002179/0.4587, allocations: 1.924 MB / 0.5671 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003525/0.4622, allocations: 2.294 MB / 0.5693 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4734, allocations: 7.158 MB / 0.5763 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4734, allocations: 0 / 0.5763 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4734, allocations: 0 / 0.5763 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002341/0.4737, allocations: 0 / 0.5763 GB, free: 2.754 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01268/0.4863, allocations: 5.489 MB / 0.5816 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4864, allocations: 8.031 kB / 0.5817 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.4876, allocations: 0.7491 MB / 0.5824 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/0.4941, allocations: 1.913 MB / 0.5843 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005505/0.4997, allocations: 2.79 MB / 0.587 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.4999, allocations: 238 kB / 0.5872 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.5005, allocations: 315.8 kB / 0.5875 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.5219, allocations: 11.18 MB / 0.5984 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.5221, allocations: 47.58 kB / 0.5985 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/0.5226, allocations: 159.8 kB / 0.5986 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004173/0.5268, allocations: 2.295 MB / 0.6009 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02002/0.5468, allocations: 9.862 MB / 0.6105 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05803/0.6049, allocations: 44.2 MB / 0.6537 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.619, allocations: 5.827 MB / 0.6593 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/0.6233, allocations: 3.248 MB / 0.6625 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.6371, allocations: 9.365 MB / 0.6717 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01004/0.6472, allocations: 3.373 MB / 0.675 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 4.408e-06/0.6472, allocations: 0 / 0.675 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1182/0.7655, allocations: 33.66 MB / 0.7078 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.7656, allocations: 158.5 kB / 0.708 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007035/0.7727, allocations: 4.207 MB / 0.7121 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007524/0.7735, allocations: 65.7 kB / 0.7122 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003394/0.7769, allocations: 3.374 MB / 0.7154 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.7786, allocations: 1.097 MB / 0.7165 GB, free: 340 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2534/1.032, allocations: 1.336 MB / 0.7178 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/1.032, allocations: 302.2 kB / 0.7181 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00486/1.037, allocations: 3.375 MB / 0.7214 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/1.043, allocations: 6.968 MB / 0.7282 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.055, allocations: 11.17 MB / 0.7391 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.055, allocations: 35.25 kB / 0.7392 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02131/1.076, allocations: 12.61 MB / 0.7515 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/1.076, allocations: 60 kB / 0.7515 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/1.076, allocations: 124.9 kB / 0.7516 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006483/1.083, allocations: 2.63 MB / 0.7542 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/1.088, allocations: 1.478 MB / 0.7557 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02408/1.112, allocations: 23.39 MB / 0.7785 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/1.118, allocations: 429.4 kB / 0.7789 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.119, allocations: 395.9 kB / 0.7793 GB, free: 115.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (760): * Single equations (assignments): 753 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00445/1.124, allocations: 2.232 MB / 0.7815 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.125, allocations: 425.1 kB / 0.7819 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.138, allocations: 8.014 MB / 0.7897 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/1.138, allocations: 33.31 kB / 0.7897 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/1.138, allocations: 15.94 kB / 0.7897 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/1.138, allocations: 15.94 kB / 0.7898 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.159, allocations: 14.6 MB / 0.804 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/1.159, allocations: 6.625 kB / 0.804 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.161, allocations: 403.3 kB / 0.8044 GB, free: 89.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/1.167, allocations: 2.307 MB / 0.8067 GB, free: 87.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000522/1.167, allocations: 51.98 kB / 0.8067 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/1.19, allocations: 23.15 MB / 0.8293 GB, free: 63.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.19, allocations: 7.938 kB / 0.8293 GB, free: 63.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.202, allocations: 8.16 MB / 0.8373 GB, free: 55.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/1.203, allocations: 463.1 kB / 0.8377 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007115/1.204, allocations: 51.67 kB / 0.8378 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.206, allocations: 211.7 kB / 0.838 GB, free: 54.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006695/1.207, allocations: 192.3 kB / 0.8382 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.207, allocations: 75.98 kB / 0.8382 GB, free: 54.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002814/1.21, allocations: 2.634 MB / 0.8408 GB, free: 52.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.21, allocations: 4 kB / 0.8408 GB, free: 52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00498/1.215, allocations: 1.34 MB / 0.8421 GB, free: 50.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (3,13,88.9%), (3,13,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.228, allocations: 9.135 MB / 0.8511 GB, free: 41.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.24, allocations: 8.892 MB / 0.8597 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.24, allocations: 0 / 0.8597 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005295/1.245, allocations: 4.101 MB / 0.8637 GB, free: 28.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.248, allocations: 0.4913 MB / 0.8642 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09364/1.341, allocations: 60.32 MB / 0.9231 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.346, allocations: 3.574 MB / 0.9266 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005012/1.351, allocations: 2.144 MB / 0.9287 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003411/1.354, allocations: 2.077 MB / 0.9307 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of SimCode: time 1.442e-06/1.354, allocations: 0 / 0.9307 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4249/1.779, allocations: 100.4 MB / 1.029 GB, free: 151.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.4/23.17, allocations: 28.33 kB / 1.029 GB, free: 151.5 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)