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.001414/0.001414, allocations: 114.5 kB / 18.46 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 79.89 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3428, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01496/0.3578, allocations: 14.67 MB / 0.546 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3687, allocations: 5 MB / 0.5509 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.3714, allocations: 99.69 kB / 0.551 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00718/0.3786, allocations: 4.139 MB / 0.555 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.3847, allocations: 2.314 MB / 0.5573 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.3873, allocations: 1.076 MB / 0.5583 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009477/0.3968, allocations: 7.153 MB / 0.5653 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00814/0.4049, allocations: 5.127 MB / 0.5703 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.4092, allocations: 2.239 MB / 0.5725 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004689/0.4139, allocations: 3.065 MB / 0.5755 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.4155, allocations: 500 kB / 0.576 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.4192, allocations: 1.35 MB / 0.5773 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003594/0.4228, allocations: 2.751 MB / 0.58 GB, free: 48 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005191/0.428, allocations: 3.127 MB / 0.583 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.4408, allocations: 9.778 MB / 0.5926 GB, free: 3.094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4408, allocations: 0 / 0.5926 GB, free: 3.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4408, allocations: 4 kB / 0.5926 GB, free: 3.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003866/0.4412, allocations: 0 / 0.5926 GB, free: 3.09 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.01821/0.4595, allocations: 6.863 MB / 0.5993 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4595, allocations: 8.031 kB / 0.5993 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.4856, allocations: 3.316 MB / 0.6025 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.496, allocations: 4.411 MB / 0.6068 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.4964, allocations: 320.8 kB / 0.6072 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.4982, allocations: 455.6 kB / 0.6076 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.5234, allocations: 13.09 MB / 0.6204 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/0.5237, allocations: 71.42 kB / 0.6204 GB, free: 5.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.525, allocations: 203.8 kB / 0.6206 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004418/0.5294, allocations: 2.531 MB / 0.6231 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.5511, allocations: 11.39 MB / 0.6342 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06715/0.6183, allocations: 52.74 MB / 0.6857 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.6316, allocations: 5.654 MB / 0.6913 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/0.636, allocations: 3.507 MB / 0.6947 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.6367, allocations: 0.6839 MB / 0.6953 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.6368, allocations: 60.56 kB / 0.6954 GB, free: 6.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 5.821e-06/0.6368, allocations: 0 / 0.6954 GB, free: 6.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.3916/1.028, allocations: 36.5 MB / 0.731 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/1.028, allocations: 261.8 kB / 0.7313 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005963/1.034, allocations: 5.171 MB / 0.7363 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005318/1.035, allocations: 73.14 kB / 0.7364 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.037, allocations: 3.867 MB / 0.7402 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.038, allocations: 1.176 MB / 0.7413 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/1.04, allocations: 1.596 MB / 0.7429 GB, free: 151 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/1.04, allocations: 301.1 kB / 0.7432 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/1.044, allocations: 3.625 MB / 0.7467 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005566/1.049, allocations: 7.809 MB / 0.7544 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.06, allocations: 12.24 MB / 0.7663 GB, free: 128 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.463e-05/1.06, allocations: 40 kB / 0.7663 GB, free: 128 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02037/1.08, allocations: 13.73 MB / 0.7798 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.08, allocations: 72 kB / 0.7798 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.08, allocations: 144 kB / 0.78 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/1.086, allocations: 2.758 MB / 0.7827 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/1.092, allocations: 1.782 MB / 0.7844 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/1.11, allocations: 17.81 MB / 0.8018 GB, free: 91.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006958/1.117, allocations: 475.2 kB / 0.8022 GB, free: 90.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.119, allocations: 455.9 kB / 0.8027 GB, free: 90.44 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.005668/1.125, allocations: 2.74 MB / 0.8053 GB, free: 87.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.126, allocations: 477.8 kB / 0.8058 GB, free: 87.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.139, allocations: 8.047 MB / 0.8137 GB, free: 79.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/1.139, allocations: 11.95 kB / 0.8137 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.139, allocations: 0 / 0.8137 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.141, allocations: 0.5222 MB / 0.8142 GB, free: 78.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.142, allocations: 60.2 kB / 0.8142 GB, free: 78.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.145, allocations: 215.7 kB / 0.8144 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000647/1.145, allocations: 221.7 kB / 0.8147 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01479/1.16, allocations: 8.409 MB / 0.8229 GB, free: 69.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01179/1.172, allocations: 10.27 MB / 0.8329 GB, free: 59.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003085/1.175, allocations: 2.875 MB / 0.8357 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005182/1.18, allocations: 3.26 MB / 0.8389 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of Backend: time 5.81e-07/1.18, allocations: 0 / 0.8389 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.194, allocations: 6.641 MB / 0.8454 GB, free: 46.56 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0196/1.213, allocations: 13.09 MB / 0.8582 GB, free: 33.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.125/1.338, allocations: 79.05 MB / 0.9354 GB, free: 2.762 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