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.007787/0.007787, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001647/0.001647, allocations: 193.4 kB / 16.68 MB, free: 5.973 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.566/1.566, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3985/0.3985, allocations: 38 MB / 307.9 MB, free: 10 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.001878/0.001878, allocations: 79.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4278, allocations: 56.46 MB / 489.5 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01898/0.4469, allocations: 15.21 MB / 0.4929 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.463, allocations: 5.091 MB / 0.4978 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006705/0.4699, allocations: 102 kB / 0.4979 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4799, allocations: 4.177 MB / 0.502 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.4912, allocations: 2.425 MB / 0.5044 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.4958, allocations: 1.096 MB / 0.5054 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.5143, allocations: 6.849 MB / 0.5121 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.5273, allocations: 5.215 MB / 0.5172 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.5375, allocations: 2.331 MB / 0.5195 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009391/0.547, allocations: 3.17 MB / 0.5226 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002729/0.5497, allocations: 0.5 MB / 0.5231 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.5548, allocations: 1.373 MB / 0.5244 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005453/0.5603, allocations: 2.883 MB / 0.5272 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008861/0.5692, allocations: 3.247 MB / 0.5304 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.5884, allocations: 10.18 MB / 0.5404 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.5884, allocations: 0 / 0.5404 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5885, allocations: 4 kB / 0.5404 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005896/0.5891, allocations: 0 / 0.5404 GB, free: 3.473 MB / 414.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.03431/0.6234, allocations: 7.047 MB / 0.5472 GB, free: 12.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/0.6235, allocations: 11.89 kB / 0.5473 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.6539, allocations: 3.37 MB / 0.5505 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/0.6682, allocations: 4.658 MB / 0.5551 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.6686, allocations: 337 kB / 0.5554 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.6704, allocations: 463.4 kB / 0.5559 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/0.6988, allocations: 13.58 MB / 0.5691 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.699, allocations: 71.41 kB / 0.5692 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005778/0.6996, allocations: 211.8 kB / 0.5694 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005151/0.7048, allocations: 2.652 MB / 0.572 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/0.7299, allocations: 11.82 MB / 0.5835 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4566/1.187, allocations: 54.05 MB / 0.6363 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01836/1.205, allocations: 5.772 MB / 0.6419 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006577/1.212, allocations: 3.55 MB / 0.6454 GB, free: 111 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/1.212, allocations: 0.6908 MB / 0.6461 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/1.213, allocations: 63.88 kB / 0.6461 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 6.312e-06/1.213, allocations: 1.75 kB / 0.6461 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1229/1.335, allocations: 37.23 MB / 0.6825 GB, free: 97.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.336, allocations: 270.9 kB / 0.6828 GB, free: 97.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007041/1.343, allocations: 5.329 MB / 0.688 GB, free: 94.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007763/1.343, allocations: 76.73 kB / 0.688 GB, free: 94.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.346, allocations: 3.989 MB / 0.6919 GB, free: 90.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.347, allocations: 1.204 MB / 0.6931 GB, free: 89.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.349, allocations: 1.64 MB / 0.6947 GB, free: 88.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/1.349, allocations: 301.1 kB / 0.695 GB, free: 88.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/1.354, allocations: 3.696 MB / 0.6986 GB, free: 85.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.36, allocations: 7.975 MB / 0.7064 GB, free: 75.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/1.374, allocations: 12.49 MB / 0.7186 GB, free: 61.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002793/1.375, allocations: 40 kB / 0.7186 GB, free: 61.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02832/1.403, allocations: 13.97 MB / 0.7323 GB, free: 47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.403, allocations: 68 kB / 0.7323 GB, free: 46.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/1.403, allocations: 148 kB / 0.7325 GB, free: 46.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006862/1.41, allocations: 2.764 MB / 0.7352 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007429/1.418, allocations: 1.829 MB / 0.737 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/1.439, allocations: 17.82 MB / 0.7544 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008886/1.448, allocations: 487.1 kB / 0.7548 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002883/1.451, allocations: 466.3 kB / 0.7553 GB, free: 23.18 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00851/1.46, allocations: 2.818 MB / 0.758 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/1.462, allocations: 493.6 kB / 0.7585 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/1.48, allocations: 8.176 MB / 0.7665 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.755e-05/1.48, allocations: 36.28 kB / 0.7665 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/1.48, allocations: 8 kB / 0.7665 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.451e-05/1.48, allocations: 15.94 kB / 0.7665 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0413/1.522, allocations: 17.16 MB / 0.7833 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/1.522, allocations: 8 kB / 0.7833 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.525, allocations: 0.5187 MB / 0.7838 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007552/1.533, allocations: 2.488 MB / 0.7862 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/1.534, allocations: 64 kB / 0.7863 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/1.558, allocations: 15.92 MB / 0.8018 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/1.558, allocations: 15.94 kB / 0.8019 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/1.583, allocations: 12.78 MB / 0.8143 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005141/1.589, allocations: 1.112 MB / 0.8154 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/1.591, allocations: 63.98 kB / 0.8155 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/1.595, allocations: 223.7 kB / 0.8157 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/1.596, allocations: 217.3 kB / 0.8159 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005195/1.596, allocations: 88 kB / 0.816 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007988/1.604, allocations: 3.369 MB / 0.8193 GB, free: 4.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.936e-06/1.605, allocations: 0 / 0.8193 GB, free: 4.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01136/1.616, allocations: 1.581 MB / 0.8208 GB, free: 3.402 MB / 0.545 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/1.617, allocations: 211.5 kB / 0.821 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01868/1.636, allocations: 9.156 MB / 0.83 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.936e-05/1.636, allocations: 4 kB / 0.83 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006607/1.643, allocations: 3.581 MB / 0.8335 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00911/1.652, allocations: 0.6751 MB / 0.8341 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/1.688, allocations: 14.95 MB / 0.8487 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3247/2.012, allocations: 4.408 MB / 0.853 GB, free: 184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008387/2.021, allocations: 2.507 MB / 0.8555 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/2.023, allocations: 359.9 kB / 0.8558 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/2.023, allocations: 0 / 0.8558 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1278/2.151, allocations: 66.68 MB / 0.9209 GB, free: 147.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (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)