Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 178.5 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3653/0.3653, allocations: 43.55 MB / 314.5 MB, free: 8.684 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006505, allocations: 16 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1469, allocations: 58.85 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3341/0.481, allocations: 40.2 MB / 483 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02796/0.509, allocations: 10.09 MB / 493.1 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01293/0.522, allocations: 209.8 kB / 493.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008727/0.5308, allocations: 2.097 MB / 495.4 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02295/0.5538, allocations: 5.856 MB / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.5583, allocations: 0.7098 MB / 0.4902 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007952/0.5663, allocations: 2.33 MB / 0.4925 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00914/0.5755, allocations: 3.902 MB / 0.4963 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.58, allocations: 1.282 MB / 0.4976 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004271/0.5843, allocations: 1.442 MB / 0.499 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.5856, allocations: 142.9 kB / 0.4991 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.5886, allocations: 0.8858 MB / 0.5 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00256/0.5912, allocations: 1.618 MB / 0.5016 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.593, allocations: 0.8746 MB / 0.5024 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.6047, allocations: 5.444 MB / 0.5077 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6048, allocations: 0 / 0.5077 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.6048, allocations: 1.281 kB / 0.5077 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003719/0.6052, allocations: 4 kB / 0.5077 GB, free: 8.586 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.01673/0.6219, allocations: 4.681 MB / 0.5123 GB, free: 5.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.622, allocations: 10.44 kB / 0.5123 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004063/0.6261, allocations: 0.7478 MB / 0.513 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.6361, allocations: 2.209 MB / 0.5152 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008968/0.6451, allocations: 2.711 MB / 0.5179 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.6455, allocations: 241.7 kB / 0.5181 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/0.6471, allocations: 320.6 kB / 0.5184 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.6749, allocations: 11.35 MB / 0.5295 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.6752, allocations: 47.59 kB / 0.5295 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/0.6758, allocations: 151.8 kB / 0.5297 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004548/0.6804, allocations: 2.306 MB / 0.5319 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/0.7058, allocations: 10.02 MB / 0.5417 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07839/0.7843, allocations: 44.43 MB / 0.5851 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/0.8011, allocations: 5.997 MB / 0.5909 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.8188, allocations: 9.422 MB / 0.6001 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01172/0.8306, allocations: 3.497 MB / 0.6036 GB, free: 8.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 5.46e-06/0.8307, allocations: 0 / 0.6036 GB, free: 8.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=285): time 0.4657/1.296, allocations: 34.61 MB / 0.6374 GB, free: 142.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/1.297, allocations: 159.1 kB / 0.6375 GB, free: 142.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007059/1.304, allocations: 4.316 MB / 0.6417 GB, free: 141.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009229/1.305, allocations: 67.28 kB / 0.6418 GB, free: 141.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.307, allocations: 3.262 MB / 0.645 GB, free: 139.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.309, allocations: 1.046 MB / 0.646 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/1.309, allocations: 133.2 kB / 0.6461 GB, free: 138.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002915/1.309, allocations: 0.5796 MB / 0.6467 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.314, allocations: 3.348 MB / 0.65 GB, free: 136.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/1.32, allocations: 6.918 MB / 0.6567 GB, free: 130.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007603/1.328, allocations: 4.723 MB / 0.6613 GB, free: 128.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.328, allocations: 36.25 kB / 0.6614 GB, free: 128.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02877/1.357, allocations: 12.53 MB / 0.6736 GB, free: 124.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.357, allocations: 61.25 kB / 0.6737 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003203/1.357, allocations: 127.1 kB / 0.6738 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009694/1.367, allocations: 2.661 MB / 0.6764 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006402/1.374, allocations: 1.477 MB / 0.6778 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02872/1.402, allocations: 22.29 MB / 0.6996 GB, free: 107.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00859/1.411, allocations: 439 kB / 0.7 GB, free: 107.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.413, allocations: 387.6 kB / 0.7004 GB, free: 106.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.00646/1.42, allocations: 2.23 MB / 0.7025 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.421, allocations: 402.5 kB / 0.7029 GB, free: 104.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.434, allocations: 8.007 MB / 0.7108 GB, free: 96.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-05/1.434, allocations: 28 kB / 0.7108 GB, free: 96.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/1.434, allocations: 8 kB / 0.7108 GB, free: 96.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.434, allocations: 18.89 kB / 0.7108 GB, free: 96.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/1.46, allocations: 14.79 MB / 0.7252 GB, free: 82.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.46, allocations: 0 / 0.7252 GB, free: 82.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.462, allocations: 403.3 kB / 0.7256 GB, free: 81.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006841/1.469, allocations: 2.431 MB / 0.728 GB, free: 79.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/1.469, allocations: 51.81 kB / 0.7281 GB, free: 79.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02446/1.494, allocations: 22.05 MB / 0.7496 GB, free: 56.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.494, allocations: 7.938 kB / 0.7496 GB, free: 56.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.508, allocations: 8.346 MB / 0.7577 GB, free: 48.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003933/1.512, allocations: 1.011 MB / 0.7587 GB, free: 47.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/1.513, allocations: 47.36 kB / 0.7588 GB, free: 47.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/1.516, allocations: 212.7 kB / 0.759 GB, free: 46.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008023/1.517, allocations: 189.5 kB / 0.7592 GB, free: 46.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.517, allocations: 76 kB / 0.7592 GB, free: 46.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005793/1.523, allocations: 2.716 MB / 0.7619 GB, free: 43.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.523, allocations: 4 kB / 0.7619 GB, free: 43.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01065/1.534, allocations: 1.377 MB / 0.7632 GB, free: 42.48 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.548, allocations: 9.827 MB / 0.7728 GB, free: 32.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01507/1.564, allocations: 8.824 MB / 0.7814 GB, free: 23.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.564, allocations: 4 kB / 0.7814 GB, free: 23.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006944/1.571, allocations: 4.075 MB / 0.7854 GB, free: 19.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.574, allocations: 431.4 kB / 0.7858 GB, free: 19.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3793/1.954, allocations: 132.1 MB / 0.9149 GB, free: 66.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005189/1.959, allocations: 3.674 MB / 0.9185 GB, free: 64.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007298/1.966, allocations: 2.147 MB / 0.9206 GB, free: 64.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004259/1.971, allocations: 2.079 MB / 0.9226 GB, free: 63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/1.971, allocations: 0.875 kB / 0.9226 GB, free: 63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4802/2.451, allocations: 107.1 MB / 1.027 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.451, allocations: 251.8 kB / 1.027 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.839/7.29, allocations: 3.875 kB / 1.027 GB, free: 142.9 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat