Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001344/0.001344, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.51/1.51, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3136/0.3136, allocations: 37.97 MB / 307.4 MB, free: 10.09 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.1. 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.001381/0.001381, allocations: 70.41 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2375/0.3522, allocations: 46.98 MB / 478.2 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02329/0.3755, allocations: 10.18 MB / 488.3 MB, free: 21.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.3881, allocations: 208.4 kB / 488.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.3942, allocations: 2.878 MB / 491.4 MB, free: 20.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.3998, allocations: 1.834 MB / 493.3 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.4023, allocations: 0.7937 MB / 494.1 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005494/0.4078, allocations: 4.121 MB / 498.2 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.413, allocations: 3.477 MB / 0.4899 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.4168, allocations: 1.834 MB / 0.4917 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.421, allocations: 2.418 MB / 0.494 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.4225, allocations: 311.4 kB / 0.4943 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.4262, allocations: 1.195 MB / 0.4955 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.4301, allocations: 1.991 MB / 0.4975 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005987/0.4361, allocations: 2.327 MB / 0.4997 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.4483, allocations: 6.975 MB / 0.5065 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4483, allocations: 0 / 0.5065 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4483, allocations: 0 / 0.5065 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003048/0.4486, allocations: 0 / 0.5065 GB, free: 9.738 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.01744/0.4661, allocations: 5.34 MB / 0.5118 GB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4662, allocations: 16.81 kB / 0.5118 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.4728, allocations: 1.865 MB / 0.5136 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005792/0.4787, allocations: 2.549 MB / 0.5161 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.479, allocations: 245 kB / 0.5163 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.4807, allocations: 311.9 kB / 0.5166 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.5055, allocations: 11.19 MB / 0.5275 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.5057, allocations: 51.61 kB / 0.5276 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.5071, allocations: 151.8 kB / 0.5277 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00431/0.5114, allocations: 2.302 MB / 0.53 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/0.5336, allocations: 9.858 MB / 0.5396 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05785/0.5915, allocations: 44.32 MB / 0.5829 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.6048, allocations: 5.812 MB / 0.5886 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/0.6091, allocations: 3.237 MB / 0.5917 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.6227, allocations: 9.337 MB / 0.6008 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009835/0.6326, allocations: 3.369 MB / 0.6041 GB, free: 9.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 4.819e-06/0.6326, allocations: 0 / 0.6041 GB, free: 9.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.3407/0.9733, allocations: 32.59 MB / 0.636 GB, free: 151 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.9734, allocations: 160.4 kB / 0.6361 GB, free: 150.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006371/0.9798, allocations: 4.199 MB / 0.6402 GB, free: 149.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008866/0.9807, allocations: 69.05 kB / 0.6403 GB, free: 149.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002787/0.9835, allocations: 3.255 MB / 0.6435 GB, free: 146.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.9852, allocations: 1.038 MB / 0.6445 GB, free: 146 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/0.9872, allocations: 1.329 MB / 0.6458 GB, free: 145.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.9873, allocations: 305.1 kB / 0.6461 GB, free: 145.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/0.9914, allocations: 3.299 MB / 0.6493 GB, free: 144 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006266/0.9977, allocations: 6.898 MB / 0.656 GB, free: 138.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.012, allocations: 11.01 MB / 0.6668 GB, free: 130.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000263/1.012, allocations: 35.88 kB / 0.6668 GB, free: 130.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03076/1.043, allocations: 12.42 MB / 0.6789 GB, free: 125.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/1.043, allocations: 58.81 kB / 0.679 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/1.043, allocations: 125.8 kB / 0.6791 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00827/1.052, allocations: 2.641 MB / 0.6817 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00588/1.057, allocations: 1.466 MB / 0.6831 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02674/1.084, allocations: 23.43 MB / 0.706 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006871/1.091, allocations: 429.1 kB / 0.7064 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/1.093, allocations: 387.2 kB / 0.7068 GB, free: 108.2 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 ($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.006984/1.1, allocations: 2.235 MB / 0.709 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.102, allocations: 406.7 kB / 0.7094 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/1.116, allocations: 7.813 MB / 0.717 GB, free: 98.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-05/1.117, allocations: 28 kB / 0.717 GB, free: 98.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.117, allocations: 11.98 kB / 0.717 GB, free: 98.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-05/1.117, allocations: 19.95 kB / 0.717 GB, free: 98.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/1.145, allocations: 14.47 MB / 0.7312 GB, free: 83.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.145, allocations: 4 kB / 0.7312 GB, free: 83.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.147, allocations: 387.4 kB / 0.7316 GB, free: 83.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005304/1.152, allocations: 2.301 MB / 0.7338 GB, free: 81.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000697/1.153, allocations: 51.98 kB / 0.7338 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0238/1.177, allocations: 23.22 MB / 0.7565 GB, free: 57.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.177, allocations: 4 kB / 0.7565 GB, free: 57.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.192, allocations: 7.948 MB / 0.7643 GB, free: 49.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.195, allocations: 0.9682 MB / 0.7652 GB, free: 48.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/1.197, allocations: 51.94 kB / 0.7653 GB, free: 48.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/1.2, allocations: 219.7 kB / 0.7655 GB, free: 48.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/1.201, allocations: 185.7 kB / 0.7657 GB, free: 47.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006221/1.202, allocations: 75.73 kB / 0.7657 GB, free: 47.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005911/1.208, allocations: 2.638 MB / 0.7683 GB, free: 45.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.208, allocations: 0 / 0.7683 GB, free: 45.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01101/1.219, allocations: 1.348 MB / 0.7696 GB, free: 43.81 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 (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.00266/1.222, allocations: 0.4982 MB / 0.7701 GB, free: 43.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01908/1.241, allocations: 11.34 MB / 0.7812 GB, free: 32.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.241, allocations: 0 / 0.7812 GB, free: 32.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005995/1.247, allocations: 3.955 MB / 0.7851 GB, free: 28.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.252, allocations: 0.4914 MB / 0.7855 GB, free: 27.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/1.282, allocations: 14.11 MB / 0.7993 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006809/1.289, allocations: 3.578 MB / 0.8028 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006745/1.295, allocations: 2.113 MB / 0.8049 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.297, allocations: 271.4 kB / 0.8051 GB, free: 7.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.134e-06/1.297, allocations: 0 / 0.8051 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Templates: time 0.3331/1.63, allocations: 64.81 MB / 0.8684 GB, free: 114.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)