Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007546/0.007546, allocations: 100.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 203.2 kB / 16.68 MB, free: 5.98 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5052/0.5052, allocations: 39.94 MB / 309.8 MB, free: 9.383 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4507, allocations: 56.88 MB / 492.6 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01446/0.4652, allocations: 12.04 MB / 0.4928 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.4778, allocations: 4.499 MB / 0.4972 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004437/0.4823, allocations: 80.94 kB / 0.4973 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007995/0.4904, allocations: 3 MB / 0.5002 GB, free: 6.199 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00848/0.4989, allocations: 1.958 MB / 0.5022 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.5023, allocations: 0.8577 MB / 0.503 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009093/0.5114, allocations: 4.094 MB / 0.507 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005787/0.5172, allocations: 3.309 MB / 0.5102 GB, free: 52 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.5225, allocations: 1.765 MB / 0.512 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.5272, allocations: 2.174 MB / 0.5141 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.5283, allocations: 311.9 kB / 0.5144 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.5314, allocations: 1.187 MB / 0.5155 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.5337, allocations: 2.006 MB / 0.5175 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.5364, allocations: 2.298 MB / 0.5197 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009713/0.5462, allocations: 7.186 MB / 0.5268 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.5462, allocations: 0 / 0.5268 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5462, allocations: 0 / 0.5268 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002268/0.5465, allocations: 0 / 0.5268 GB, free: 1.457 MB / 398.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.01382/0.5603, allocations: 5.326 MB / 0.532 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.5604, allocations: 11.89 kB / 0.532 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006736/0.5671, allocations: 1.878 MB / 0.5338 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006825/0.574, allocations: 2.625 MB / 0.5364 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.5742, allocations: 238 kB / 0.5366 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/0.5748, allocations: 315.8 kB / 0.5369 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.6, allocations: 11.19 MB / 0.5478 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000324/0.6004, allocations: 43.59 kB / 0.5479 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.6019, allocations: 155.8 kB / 0.548 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004375/0.6063, allocations: 2.298 MB / 0.5503 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.628, allocations: 9.866 MB / 0.5599 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07009/0.6981, allocations: 44.11 MB / 0.603 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.7137, allocations: 5.82 MB / 0.6086 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/0.7188, allocations: 3.237 MB / 0.6118 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/0.7374, allocations: 9.318 MB / 0.6209 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01061/0.748, allocations: 3.369 MB / 0.6242 GB, free: 11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=211): time 1.146e-05/0.7481, allocations: 3.938 kB / 0.6242 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=282): time 0.5176/1.266, allocations: 32.6 MB / 0.656 GB, free: 123 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/1.266, allocations: 169.8 kB / 0.6562 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00734/1.273, allocations: 4.203 MB / 0.6603 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008029/1.274, allocations: 67.39 kB / 0.6604 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/1.277, allocations: 3.253 MB / 0.6635 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.278, allocations: 1.034 MB / 0.6646 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/1.281, allocations: 1.333 MB / 0.6659 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/1.281, allocations: 302.2 kB / 0.6661 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004576/1.285, allocations: 3.305 MB / 0.6694 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/1.292, allocations: 6.893 MB / 0.6761 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.304, allocations: 11.01 MB / 0.6869 GB, free: 98.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.304, allocations: 36 kB / 0.6869 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02303/1.327, allocations: 12.42 MB / 0.699 GB, free: 86.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.327, allocations: 60.25 kB / 0.6991 GB, free: 86.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/1.327, allocations: 128 kB / 0.6992 GB, free: 86.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006575/1.334, allocations: 2.637 MB / 0.7018 GB, free: 83.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/1.339, allocations: 1.466 MB / 0.7032 GB, free: 82.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/1.365, allocations: 23.4 MB / 0.7261 GB, free: 58.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/1.372, allocations: 435.3 kB / 0.7265 GB, free: 57.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/1.374, allocations: 387.9 kB / 0.7268 GB, free: 57.29 MB / 0.4981 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],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[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],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[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 (761): * Single equations (assignments): 754 * 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.006769/1.381, allocations: 2.225 MB / 0.729 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.383, allocations: 402.8 kB / 0.7294 GB, free: 54.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.399, allocations: 7.824 MB / 0.737 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/1.399, allocations: 28 kB / 0.7371 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.875e-05/1.399, allocations: 15.98 kB / 0.7371 GB, free: 46.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.374e-05/1.399, allocations: 11.95 kB / 0.7371 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03258/1.432, allocations: 14.28 MB / 0.751 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/1.432, allocations: 4 kB / 0.751 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.434, allocations: 387.4 kB / 0.7514 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/1.44, allocations: 2.299 MB / 0.7537 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/1.44, allocations: 48 kB / 0.7537 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/1.465, allocations: 23.24 MB / 0.7764 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.465, allocations: 7.922 kB / 0.7764 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.482, allocations: 7.962 MB / 0.7842 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/1.487, allocations: 0.9721 MB / 0.7851 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/1.488, allocations: 48 kB / 0.7852 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003733/1.492, allocations: 215.7 kB / 0.7854 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.493, allocations: 181.7 kB / 0.7856 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005136/1.494, allocations: 71.98 kB / 0.7856 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0069/1.501, allocations: 2.638 MB / 0.7882 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/1.501, allocations: 0 / 0.7882 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009302/1.51, allocations: 1.364 MB / 0.7895 GB, free: 8.312 MB / 0.5137 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 (185): * Single equations (assignments): 176 * 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%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/1.512, allocations: 497.5 kB / 0.79 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01638/1.529, allocations: 8.71 MB / 0.7985 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.529, allocations: 0 / 0.7985 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007521/1.536, allocations: 3.953 MB / 0.8024 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/1.542, allocations: 0.4908 MB / 0.8029 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.571, allocations: 11.8 MB / 0.8144 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006972/1.578, allocations: 3.57 MB / 0.8179 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007101/1.585, allocations: 2.105 MB / 0.8199 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.587, allocations: 275.3 kB / 0.8202 GB, free: 8.789 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/1.587, allocations: 0 / 0.8202 GB, free: 8.789 MB / 0.545 GB Notification: Performance of Templates: time 0.4665/2.053, allocations: 61.82 MB / 0.8805 GB, free: 181.8 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)