Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008658/0.0008661, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.828 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.3485/0.3485, allocations: 38.03 MB / 308.4 MB, free: 10.3 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.0005235/0.0005235, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2808/0.3896, allocations: 67.75 MB / 0.4899 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03638/0.4261, allocations: 14.33 MB / 0.5039 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/0.4392, allocations: 330.3 kB / 0.5043 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00984/0.4491, allocations: 3.53 MB / 0.5077 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03215/0.4813, allocations: 10.35 MB / 0.5178 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006567/0.4879, allocations: 0.9252 MB / 0.5187 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04751/0.5354, allocations: 35.83 MB / 0.5537 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009777/0.5452, allocations: 6.352 MB / 0.5599 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.5492, allocations: 1.845 MB / 0.5617 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.5546, allocations: 2.921 MB / 0.5646 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.5557, allocations: 212 kB / 0.5648 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.5582, allocations: 0.987 MB / 0.5657 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002501/0.5607, allocations: 2.474 MB / 0.5681 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.5623, allocations: 1.193 MB / 0.5693 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008247/0.5705, allocations: 7.863 MB / 0.577 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5706, allocations: 0 / 0.577 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5706, allocations: 0 / 0.577 GB, free: 9.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.5708, allocations: 0 / 0.577 GB, free: 9.828 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.0115/0.5823, allocations: 5.87 MB / 0.5827 GB, free: 3.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5824, allocations: 12.03 kB / 0.5827 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02126/0.6036, allocations: 3.44 MB / 0.5861 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.6141, allocations: 4.492 MB / 0.5905 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.6145, allocations: 332.6 kB / 0.5908 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.6159, allocations: 455.6 kB / 0.5912 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/0.6406, allocations: 13.57 MB / 0.6045 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.6409, allocations: 67.42 kB / 0.6046 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/0.6414, allocations: 215.8 kB / 0.6048 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004067/0.6455, allocations: 2.652 MB / 0.6073 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/0.6676, allocations: 11.8 MB / 0.6189 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2691/0.9367, allocations: 54.33 MB / 0.6719 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.9484, allocations: 5.774 MB / 0.6776 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003725/0.9522, allocations: 3.536 MB / 0.681 GB, free: 105.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.9528, allocations: 0.692 MB / 0.6817 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.9529, allocations: 67.09 kB / 0.6818 GB, free: 104.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.47e-06/0.9529, allocations: 0 / 0.6818 GB, free: 104.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.09841/1.051, allocations: 37.23 MB / 0.7181 GB, free: 92.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/1.051, allocations: 275.5 kB / 0.7184 GB, free: 91.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007468/1.059, allocations: 5.289 MB / 0.7235 GB, free: 89.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000871/1.06, allocations: 77.7 kB / 0.7236 GB, free: 89.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.062, allocations: 3.99 MB / 0.7275 GB, free: 85.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.063, allocations: 1.201 MB / 0.7287 GB, free: 83.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/1.063, allocations: 164 kB / 0.7288 GB, free: 83.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003006/1.064, allocations: 0.6411 MB / 0.7295 GB, free: 83.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004708/1.068, allocations: 3.666 MB / 0.733 GB, free: 79.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006995/1.075, allocations: 7.94 MB / 0.7408 GB, free: 69.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006563/1.082, allocations: 5.289 MB / 0.746 GB, free: 64.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/1.082, allocations: 47.94 kB / 0.746 GB, free: 64.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02045/1.103, allocations: 13.91 MB / 0.7596 GB, free: 50.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/1.103, allocations: 68 kB / 0.7597 GB, free: 50.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.103, allocations: 148 kB / 0.7598 GB, free: 49.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005569/1.108, allocations: 2.774 MB / 0.7625 GB, free: 47.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005339/1.114, allocations: 1.829 MB / 0.7643 GB, free: 45.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/1.131, allocations: 16.62 MB / 0.7805 GB, free: 28.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007785/1.139, allocations: 486.3 kB / 0.781 GB, free: 27.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.141, allocations: 467.9 kB / 0.7814 GB, free: 27.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (973): * Single equations (assignments): 968 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005549/1.146, allocations: 2.83 MB / 0.7842 GB, free: 24.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.148, allocations: 493.6 kB / 0.7847 GB, free: 24.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.16, allocations: 8.16 MB / 0.7926 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/1.16, allocations: 46.47 kB / 0.7927 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/1.16, allocations: 8 kB / 0.7927 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/1.16, allocations: 15.94 kB / 0.7927 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02541/1.185, allocations: 17.38 MB / 0.8097 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/1.185, allocations: 8 kB / 0.8097 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.188, allocations: 0.5148 MB / 0.8102 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005839/1.194, allocations: 2.48 MB / 0.8126 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005072/1.194, allocations: 70.88 kB / 0.8127 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2404/1.435, allocations: 14.75 MB / 0.8271 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.435, allocations: 10.12 kB / 0.8271 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/1.451, allocations: 12.73 MB / 0.8395 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/1.454, allocations: 1.116 MB / 0.8406 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008348/1.455, allocations: 64.33 kB / 0.8407 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.457, allocations: 232.7 kB / 0.8409 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/1.457, allocations: 219.2 kB / 0.8411 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.457, allocations: 91.61 kB / 0.8412 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00406/1.461, allocations: 3.337 MB / 0.8445 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.461, allocations: 1.75 kB / 0.8445 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006059/1.467, allocations: 1.58 MB / 0.846 GB, free: 140.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 258 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 21,(3,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005457/1.468, allocations: 207.9 kB / 0.8462 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.482, allocations: 9.027 MB / 0.855 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.482, allocations: 1.375 kB / 0.855 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004948/1.487, allocations: 3.56 MB / 0.8585 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/1.491, allocations: 0.6461 MB / 0.8591 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.515, allocations: 17.46 MB / 0.8762 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004991/1.52, allocations: 4.42 MB / 0.8805 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006565/1.527, allocations: 2.505 MB / 0.8829 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.528, allocations: 362.5 kB / 0.8833 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/1.528, allocations: 0 / 0.8833 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.09092/1.619, allocations: 64.73 MB / 0.9465 GB, free: 67.25 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) Environment - environmentSimulation: