Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.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: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_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.001742/0.001742, allocations: 96.78 kB / 15.98 MB, free: 6.289 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.002025/0.002025, allocations: 196.2 kB / 16.91 MB, free: 6.145 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.765/1.765, allocations: 205.1 MB / 222.8 MB, free: 4.664 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.4564/0.4564, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001464/0.001464, allocations: 63.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1772, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.4418/0.6191, allocations: 74.66 MB / 0.5026 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05501/0.6741, allocations: 14.9 MB / 0.5172 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02744/0.7016, allocations: 329.9 kB / 0.5175 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.7125, allocations: 4.02 MB / 0.5214 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.7235, allocations: 2.252 MB / 0.5236 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.7286, allocations: 1.015 MB / 0.5246 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01751/0.7462, allocations: 7.067 MB / 0.5315 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.7586, allocations: 5.496 MB / 0.5369 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009167/0.7679, allocations: 2.348 MB / 0.5391 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00818/0.7761, allocations: 3.513 MB / 0.5426 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003288/0.7795, allocations: 0.5039 MB / 0.5431 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006267/0.7858, allocations: 1.389 MB / 0.5444 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006287/0.7921, allocations: 2.895 MB / 0.5473 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.8023, allocations: 3.282 MB / 0.5505 GB, free: 68 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.8237, allocations: 9.942 MB / 0.5602 GB, free: 6.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.8238, allocations: 8 kB / 0.5602 GB, free: 6.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8238, allocations: 0 / 0.5602 GB, free: 6.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007505/0.8245, allocations: 0 / 0.5602 GB, free: 6.086 MB / 430.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.03028/0.8548, allocations: 7.044 MB / 0.5671 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.8549, allocations: 15.89 kB / 0.5671 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02774/0.8827, allocations: 3.363 MB / 0.5704 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.8973, allocations: 4.56 MB / 0.5748 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/0.8979, allocations: 337.2 kB / 0.5751 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.9011, allocations: 463.5 kB / 0.5756 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/0.9349, allocations: 13.57 MB / 0.5888 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/0.9353, allocations: 75.36 kB / 0.5889 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007251/0.9361, allocations: 211.8 kB / 0.5891 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005182/0.9412, allocations: 2.641 MB / 0.5917 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.9688, allocations: 11.84 MB / 0.6032 GB, free: 8.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/1.398, allocations: 54.33 MB / 0.6563 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/1.412, allocations: 5.77 MB / 0.6619 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005405/1.418, allocations: 3.553 MB / 0.6654 GB, free: 105.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/1.419, allocations: 0.6816 MB / 0.6661 GB, free: 105.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.691e-05/1.419, allocations: 73.52 kB / 0.6661 GB, free: 105.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 1.045e-05/1.419, allocations: 0 / 0.6661 GB, free: 105.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1116/1.53, allocations: 37.23 MB / 0.7025 GB, free: 92.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.531, allocations: 267.7 kB / 0.7027 GB, free: 92.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009202/1.54, allocations: 5.317 MB / 0.7079 GB, free: 90.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001657/1.541, allocations: 79.84 kB / 0.708 GB, free: 90.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003997/1.545, allocations: 3.993 MB / 0.7119 GB, free: 86.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00296/1.548, allocations: 1.205 MB / 0.7131 GB, free: 85.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005141/1.554, allocations: 1.629 MB / 0.7147 GB, free: 85.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/1.554, allocations: 305.1 kB / 0.715 GB, free: 84.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006079/1.56, allocations: 3.694 MB / 0.7186 GB, free: 81.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00998/1.57, allocations: 7.978 MB / 0.7264 GB, free: 71.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/1.586, allocations: 12.5 MB / 0.7386 GB, free: 56.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002317/1.586, allocations: 40 kB / 0.7386 GB, free: 56.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.03225/1.618, allocations: 13.99 MB / 0.7523 GB, free: 42.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002377/1.619, allocations: 68 kB / 0.7523 GB, free: 42.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003269/1.619, allocations: 144 kB / 0.7525 GB, free: 42.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007156/1.626, allocations: 2.766 MB / 0.7552 GB, free: 39.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00822/1.635, allocations: 1.829 MB / 0.757 GB, free: 37.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/1.659, allocations: 17.82 MB / 0.7744 GB, free: 19.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009617/1.669, allocations: 483 kB / 0.7748 GB, free: 19.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/1.671, allocations: 463.9 kB / 0.7753 GB, free: 18.76 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 (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.008329/1.68, allocations: 2.831 MB / 0.778 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.682, allocations: 497.6 kB / 0.7785 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.698, allocations: 8.181 MB / 0.7865 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/1.698, allocations: 36 kB / 0.7865 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.906e-05/1.698, allocations: 8 kB / 0.7865 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-05/1.699, allocations: 15.94 kB / 0.7866 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04064/1.739, allocations: 17.41 MB / 0.8036 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/1.739, allocations: 4 kB / 0.8036 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/1.742, allocations: 0.5148 MB / 0.8041 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00675/1.749, allocations: 2.487 MB / 0.8065 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/1.75, allocations: 64 kB / 0.8066 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/1.771, allocations: 15.84 MB / 0.822 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.771, allocations: 8 kB / 0.822 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3465/2.117, allocations: 12.75 MB / 0.8345 GB, free: 157 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003213/2.121, allocations: 1.103 MB / 0.8356 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00087/2.122, allocations: 64.22 kB / 0.8356 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/2.124, allocations: 232.2 kB / 0.8359 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006613/2.125, allocations: 207.5 kB / 0.8361 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/2.125, allocations: 90.12 kB / 0.8361 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005082/2.13, allocations: 3.373 MB / 0.8394 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/2.13, allocations: 0 / 0.8394 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009329/2.139, allocations: 1.577 MB / 0.841 GB, free: 155.2 MB / 0.5137 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.000844/2.14, allocations: 217.6 kB / 0.8412 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02991/2.17, allocations: 12.87 MB / 0.8538 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.834e-05/2.17, allocations: 7.938 kB / 0.8538 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007851/2.178, allocations: 3.57 MB / 0.8572 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009582/2.188, allocations: 0.6825 MB / 0.8579 GB, free: 150 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04034/2.228, allocations: 17.95 MB / 0.8754 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009991/2.238, allocations: 4.416 MB / 0.8798 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007868/2.246, allocations: 2.509 MB / 0.8822 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/2.248, allocations: 355.6 kB / 0.8825 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/2.248, allocations: 0 / 0.8825 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1233/2.371, allocations: 70.2 MB / 0.9511 GB, free: 74.4 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches