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.001759/0.001759, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2295/0.2295, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002269/0.002269, allocations: 84.56 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1182, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01505/0.1332, allocations: 11.96 MB / 492.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1438, allocations: 4.747 MB / 496.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.1466, allocations: 79.75 kB / 497 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006695/0.1534, allocations: 2.99 MB / 500 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.1599, allocations: 1.961 MB / 0.4902 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.1622, allocations: 0.8459 MB / 0.491 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006429/0.1687, allocations: 4.1 MB / 0.495 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/0.1728, allocations: 3.305 MB / 0.4982 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.1758, allocations: 1.744 MB / 0.4999 GB, free: 5.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.1788, allocations: 2.169 MB / 0.5021 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007153/0.1795, allocations: 312 kB / 0.5024 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.1819, allocations: 1.19 MB / 0.5035 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.218/0.3998, allocations: 1.931 MB / 0.5054 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.4032, allocations: 2.277 MB / 0.5076 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.4134, allocations: 6.892 MB / 0.5144 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4135, allocations: 1.906 kB / 0.5144 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4135, allocations: 0 / 0.5144 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002716/0.4138, allocations: 0 / 0.5144 GB, free: 15.25 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.02023/0.434, allocations: 5.329 MB / 0.5196 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4341, allocations: 13.16 kB / 0.5196 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002935/0.437, allocations: 0.7498 MB / 0.5203 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007733/0.4448, allocations: 1.883 MB / 0.5221 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/0.452, allocations: 2.706 MB / 0.5248 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.4523, allocations: 242.1 kB / 0.525 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.4535, allocations: 320.7 kB / 0.5253 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.4753, allocations: 11.19 MB / 0.5362 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.4755, allocations: 48.59 kB / 0.5363 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005755/0.4761, allocations: 156.8 kB / 0.5364 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003697/0.4798, allocations: 2.291 MB / 0.5387 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.4992, allocations: 9.87 MB / 0.5483 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0633/0.5625, allocations: 44.31 MB / 0.5916 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/0.578, allocations: 5.836 MB / 0.5973 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004777/0.5828, allocations: 3.243 MB / 0.6005 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/0.5987, allocations: 9.345 MB / 0.6096 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01143/0.6102, allocations: 3.376 MB / 0.6129 GB, free: 11.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=211): time 8.767e-06/0.6102, allocations: 0 / 0.6129 GB, free: 11.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=285): time 0.1306/0.7409, allocations: 33.39 MB / 0.6455 GB, free: 10.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.741, allocations: 158.5 kB / 0.6456 GB, free: 10.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00807/0.7491, allocations: 4.202 MB / 0.6497 GB, free: 5.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007315/0.7499, allocations: 69.7 kB / 0.6498 GB, free: 5.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00348/0.7534, allocations: 3.253 MB / 0.653 GB, free: 2.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/0.7551, allocations: 1.041 MB / 0.654 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00338/0.7585, allocations: 1.332 MB / 0.6553 GB, free: 304 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7586, allocations: 317 kB / 0.6556 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00604/0.7647, allocations: 3.366 MB / 0.6589 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/0.7754, allocations: 6.974 MB / 0.6657 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.7927, allocations: 11.17 MB / 0.6766 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.7928, allocations: 36 kB / 0.6766 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02867/0.8215, allocations: 12.59 MB / 0.6889 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.8217, allocations: 56 kB / 0.689 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/0.8219, allocations: 131.9 kB / 0.6891 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/0.8296, allocations: 2.654 MB / 0.6917 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00585/0.8355, allocations: 1.47 MB / 0.6931 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.268/1.104, allocations: 23.38 MB / 0.716 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005661/1.109, allocations: 436.4 kB / 0.7164 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.11, allocations: 387.1 kB / 0.7168 GB, free: 190.4 MB / 0.545 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.004173/1.114, allocations: 2.226 MB / 0.7189 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/1.115, allocations: 400.5 kB / 0.7193 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.129, allocations: 8.024 MB / 0.7272 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/1.129, allocations: 30.34 kB / 0.7272 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.129, allocations: 10.56 kB / 0.7272 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/1.129, allocations: 12.47 kB / 0.7272 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.154, allocations: 14.8 MB / 0.7417 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.154, allocations: 6.516 kB / 0.7417 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.156, allocations: 399.7 kB / 0.7421 GB, free: 183.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005054/1.161, allocations: 2.312 MB / 0.7443 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004843/1.161, allocations: 53.88 kB / 0.7444 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/1.185, allocations: 23.11 MB / 0.7669 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.185, allocations: 11.78 kB / 0.7669 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.199, allocations: 8.122 MB / 0.7749 GB, free: 156.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.201, allocations: 440.5 kB / 0.7753 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.202, allocations: 50.62 kB / 0.7753 GB, free: 155.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.205, allocations: 217.1 kB / 0.7756 GB, free: 155.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009496/1.206, allocations: 189.6 kB / 0.7757 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/1.206, allocations: 84.09 kB / 0.7758 GB, free: 155.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004486/1.211, allocations: 2.626 MB / 0.7784 GB, free: 152.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.211, allocations: 0 / 0.7784 GB, free: 152.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00736/1.218, allocations: 1.342 MB / 0.7797 GB, free: 151.2 MB / 0.545 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.01622/1.234, allocations: 9.105 MB / 0.7886 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.253, allocations: 11.62 MB / 0.7999 GB, free: 130.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.253, allocations: 0 / 0.7999 GB, free: 130.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.259, allocations: 4.089 MB / 0.8039 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/1.262, allocations: 0.4913 MB / 0.8044 GB, free: 126 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09511/1.358, allocations: 67.69 MB / 0.8705 GB, free: 50.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/1.363, allocations: 3.573 MB / 0.874 GB, free: 46.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005529/1.368, allocations: 2.148 MB / 0.8761 GB, free: 44.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003953/1.372, allocations: 2.081 MB / 0.8781 GB, free: 42.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/1.372, allocations: 0 / 0.8781 GB, free: 42.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3823/1.755, allocations: 104.5 MB / 0.9802 GB, free: 148.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/16.36, allocations: 11.8 kB / 0.9802 GB, free: 148.6 MB / 0.545 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)