Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001423, allocations: 117 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 71.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4308, allocations: 62.45 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01715/0.448, allocations: 14.67 MB / 0.546 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.4642, allocations: 5 MB / 0.5509 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004788/0.469, allocations: 103.6 kB / 0.551 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009702/0.4788, allocations: 4.147 MB / 0.555 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.4885, allocations: 2.376 MB / 0.5574 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.4919, allocations: 1.084 MB / 0.5584 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.5039, allocations: 7.154 MB / 0.5654 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008231/0.5122, allocations: 5.127 MB / 0.5704 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/0.5169, allocations: 2.235 MB / 0.5726 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005555/0.5225, allocations: 3.061 MB / 0.5756 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.5246, allocations: 496 kB / 0.5761 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.5288, allocations: 1.358 MB / 0.5774 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004136/0.533, allocations: 2.755 MB / 0.5801 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007293/0.5403, allocations: 3.127 MB / 0.5831 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.5581, allocations: 9.77 MB / 0.5927 GB, free: 3.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5581, allocations: 0 / 0.5927 GB, free: 3.047 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5582, allocations: 0 / 0.5927 GB, free: 3.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004244/0.5586, allocations: 0 / 0.5927 GB, free: 3.047 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: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.02289/0.5815, allocations: 6.867 MB / 0.5994 GB, free: 12.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5816, allocations: 8.031 kB / 0.5994 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02806/0.6096, allocations: 3.312 MB / 0.6026 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.6232, allocations: 4.415 MB / 0.6069 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007012/0.624, allocations: 324.8 kB / 0.6072 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/0.6271, allocations: 451.6 kB / 0.6077 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.6592, allocations: 13.1 MB / 0.6205 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004725/0.6597, allocations: 67.42 kB / 0.6205 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001917/0.6616, allocations: 203.8 kB / 0.6207 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005142/0.6668, allocations: 2.527 MB / 0.6232 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/0.6925, allocations: 11.4 MB / 0.6343 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08169/0.7743, allocations: 52.74 MB / 0.6858 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.79, allocations: 5.659 MB / 0.6913 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006253/0.7964, allocations: 3.499 MB / 0.6948 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009701/0.7974, allocations: 0.6878 MB / 0.6954 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.262e-05/0.7975, allocations: 64.5 kB / 0.6955 GB, free: 6.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 7.474e-06/0.7975, allocations: 0 / 0.6955 GB, free: 6.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.475/1.273, allocations: 36.49 MB / 0.7311 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.273, allocations: 266.7 kB / 0.7314 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007373/1.28, allocations: 5.167 MB / 0.7364 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008861/1.281, allocations: 77.2 kB / 0.7365 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.283, allocations: 3.864 MB / 0.7403 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.285, allocations: 1.174 MB / 0.7414 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/1.287, allocations: 1.6 MB / 0.743 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/1.287, allocations: 304.9 kB / 0.7433 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/1.291, allocations: 3.62 MB / 0.7468 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005724/1.297, allocations: 7.805 MB / 0.7544 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.308, allocations: 12.24 MB / 0.7664 GB, free: 128 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.308, allocations: 40 kB / 0.7664 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02441/1.333, allocations: 13.74 MB / 0.7798 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/1.333, allocations: 72.03 kB / 0.7799 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003131/1.333, allocations: 144 kB / 0.78 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006574/1.34, allocations: 2.754 MB / 0.7827 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005941/1.346, allocations: 1.778 MB / 0.7845 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.365, allocations: 17.81 MB / 0.8019 GB, free: 91.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/1.372, allocations: 475.1 kB / 0.8023 GB, free: 90.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.373, allocations: 459.9 kB / 0.8028 GB, free: 90.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (948): * Single equations (assignments): 943 * 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%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005375/1.378, allocations: 2.736 MB / 0.8054 GB, free: 87.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/1.38, allocations: 477.8 kB / 0.8059 GB, free: 87.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.395, allocations: 8.043 MB / 0.8137 GB, free: 79.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/1.395, allocations: 15.94 kB / 0.8137 GB, free: 79.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.395, allocations: 3.844 kB / 0.8138 GB, free: 79.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.397, allocations: 0.5262 MB / 0.8143 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/1.398, allocations: 55.83 kB / 0.8143 GB, free: 78.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/1.402, allocations: 219.7 kB / 0.8145 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007656/1.402, allocations: 225.7 kB / 0.8147 GB, free: 77.99 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01527/1.418, allocations: 8.402 MB / 0.823 GB, free: 69.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01181/1.43, allocations: 10.27 MB / 0.833 GB, free: 59.25 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002992/1.433, allocations: 2.871 MB / 0.8358 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005539/1.438, allocations: 3.264 MB / 0.839 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of Backend: time 5.31e-07/1.438, allocations: 0 / 0.839 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0198/1.458, allocations: 6.637 MB / 0.8455 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.03343/1.491, allocations: 13.09 MB / 0.8582 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.1349/1.626, allocations: 78.24 MB / 0.9346 GB, free: 3.434 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches