Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001514/0.001514, allocations: 107.7 kB / 18.45 MB, free: 4.602 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.00178/0.00178, allocations: 186.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4044, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01697/0.4214, allocations: 14.78 MB / 0.534 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.4354, allocations: 5.005 MB / 0.5389 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004411/0.4399, allocations: 105.3 kB / 0.539 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00935/0.4492, allocations: 4.166 MB / 0.5431 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008121/0.4575, allocations: 2.44 MB / 0.5455 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.4608, allocations: 1.074 MB / 0.5465 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.4742, allocations: 7.058 MB / 0.5534 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008201/0.4824, allocations: 5.163 MB / 0.5584 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.4876, allocations: 2.266 MB / 0.5607 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/0.4942, allocations: 3.076 MB / 0.5637 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.4961, allocations: 500 kB / 0.5641 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.5012, allocations: 1.373 MB / 0.5655 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005694/0.507, allocations: 2.813 MB / 0.5682 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009216/0.5162, allocations: 3.177 MB / 0.5713 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/0.5335, allocations: 9.934 MB / 0.581 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.5336, allocations: 0 / 0.581 GB, free: 12.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5336, allocations: 0 / 0.581 GB, free: 12.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00045/0.534, allocations: 0 / 0.581 GB, free: 12.9 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.02502/0.5591, allocations: 6.916 MB / 0.5878 GB, free: 5.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.889e-05/0.5592, allocations: 8.031 kB / 0.5878 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02866/0.5878, allocations: 3.339 MB / 0.5911 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.601, allocations: 4.521 MB / 0.5955 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/0.6015, allocations: 324.8 kB / 0.5958 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.6038, allocations: 459.5 kB / 0.5962 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/0.6373, allocations: 13.28 MB / 0.6092 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/0.6377, allocations: 63.42 kB / 0.6092 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001883/0.6397, allocations: 207.8 kB / 0.6094 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00528/0.645, allocations: 2.593 MB / 0.612 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/0.6715, allocations: 11.54 MB / 0.6232 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08969/0.7612, allocations: 53.17 MB / 0.6752 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.7768, allocations: 5.652 MB / 0.6807 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005531/0.7824, allocations: 3.502 MB / 0.6841 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.7834, allocations: 0.6916 MB / 0.6848 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.43e-05/0.7836, allocations: 64.5 kB / 0.6848 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 8.376e-06/0.7836, allocations: 0 / 0.6848 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.4626/1.246, allocations: 36.55 MB / 0.7205 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.246, allocations: 267.6 kB / 0.7208 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009496/1.256, allocations: 5.222 MB / 0.7259 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008999/1.257, allocations: 76.2 kB / 0.726 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002508/1.259, allocations: 3.912 MB / 0.7298 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.261, allocations: 1.168 MB / 0.7309 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002676/1.264, allocations: 1.599 MB / 0.7325 GB, free: 161 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/1.264, allocations: 302.3 kB / 0.7328 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005881/1.27, allocations: 3.633 MB / 0.7363 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/1.277, allocations: 7.839 MB / 0.744 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.291, allocations: 12.28 MB / 0.756 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002159/1.292, allocations: 40.72 kB / 0.756 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.02793/1.32, allocations: 13.76 MB / 0.7694 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/1.32, allocations: 70.95 kB / 0.7695 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/1.32, allocations: 144 kB / 0.7696 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/1.327, allocations: 2.758 MB / 0.7723 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/1.333, allocations: 1.786 MB / 0.7741 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.355, allocations: 17.81 MB / 0.7915 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007907/1.363, allocations: 477.6 kB / 0.7919 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.364, allocations: 455.9 kB / 0.7924 GB, free: 108.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.arrowLine.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 (951): * Single equations (assignments): 946 * 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.006004/1.37, allocations: 2.771 MB / 0.7951 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.372, allocations: 485.8 kB / 0.7955 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.386, allocations: 8.051 MB / 0.8034 GB, free: 96.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.359e-05/1.386, allocations: 15.95 kB / 0.8034 GB, free: 96.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.386, allocations: 0 / 0.8034 GB, free: 96.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.389, allocations: 0.5261 MB / 0.8039 GB, free: 96.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/1.391, allocations: 51.98 kB / 0.804 GB, free: 96.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.394, allocations: 227.7 kB / 0.8042 GB, free: 95.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007468/1.395, allocations: 213.7 kB / 0.8044 GB, free: 95.69 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01455/1.409, allocations: 8.409 MB / 0.8126 GB, free: 87.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01133/1.421, allocations: 10.28 MB / 0.8226 GB, free: 76.93 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00299/1.424, allocations: 2.866 MB / 0.8254 GB, free: 74.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004685/1.429, allocations: 3.3 MB / 0.8287 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of Backend: time 4e-07/1.429, allocations: 0 / 0.8287 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.441, allocations: 6.65 MB / 0.8352 GB, free: 64.14 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02058/1.462, allocations: 13.2 MB / 0.8481 GB, free: 50.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.1395/1.601, allocations: 78.73 MB / 0.9249 GB, free: 4.484 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches