Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 109.3 kB / 17.09 MB, free: 5.984 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.001185/0.001185, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.434/1.434, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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.00158/0.00158, allocations: 69.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1244, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01566/0.1401, allocations: 14.51 MB / 0.5027 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009897/0.15, allocations: 4.502 MB / 0.5071 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.1526, allocations: 79.75 kB / 0.5072 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00472/0.1573, allocations: 2.378 MB / 0.5095 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.1625, allocations: 2.012 MB / 0.5115 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.1642, allocations: 0.5731 MB / 0.5121 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005766/0.17, allocations: 4.301 MB / 0.5163 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005292/0.1753, allocations: 3.634 MB / 0.5198 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.1781, allocations: 1.651 MB / 0.5214 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.1818, allocations: 2.254 MB / 0.5236 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.1831, allocations: 372 kB / 0.524 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.1869, allocations: 1.221 MB / 0.5252 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003235/0.1901, allocations: 2.112 MB / 0.5272 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004678/0.1948, allocations: 2.512 MB / 0.5297 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3065/0.5013, allocations: 8.251 MB / 0.5377 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5014, allocations: 0 / 0.5377 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5014, allocations: 3.781 kB / 0.5377 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003604/0.5018, allocations: 0 / 0.5377 GB, free: 14.55 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02065/0.5224, allocations: 5.449 MB / 0.5431 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.5225, allocations: 12.7 kB / 0.5431 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.5357, allocations: 3.201 MB / 0.5462 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007336/0.5431, allocations: 2.398 MB / 0.5485 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.5435, allocations: 267.9 kB / 0.5488 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/0.5458, allocations: 358 kB / 0.5491 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/0.5732, allocations: 12.67 MB / 0.5615 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.5734, allocations: 35.03 kB / 0.5615 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.5746, allocations: 164.3 kB / 0.5617 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004075/0.5786, allocations: 2.768 MB / 0.5644 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.6036, allocations: 11.59 MB / 0.5757 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/0.6767, allocations: 40.25 MB / 0.615 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.6894, allocations: 5.085 MB / 0.62 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/0.6939, allocations: 2.414 MB / 0.6223 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/0.7068, allocations: 6.841 MB / 0.629 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.7068, allocations: 52.56 kB / 0.6291 GB, free: 8.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=235): time 5.25e-06/0.7068, allocations: 4 kB / 0.6291 GB, free: 8.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=244): time 0.03964/0.7465, allocations: 16.47 MB / 0.6452 GB, free: 7.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.7466, allocations: 73.41 kB / 0.6452 GB, free: 7.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/0.7527, allocations: 3.214 MB / 0.6484 GB, free: 4.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.753, allocations: 57.7 kB / 0.6484 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.7554, allocations: 3.3 MB / 0.6517 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.7567, allocations: 0.9194 MB / 0.6526 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/0.759, allocations: 1.237 MB / 0.6538 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7591, allocations: 305.1 kB / 0.654 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/0.7632, allocations: 2.429 MB / 0.6564 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006555/0.7697, allocations: 5.832 MB / 0.6621 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.7817, allocations: 8.983 MB / 0.6709 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/0.7818, allocations: 32 kB / 0.6709 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01794/0.7998, allocations: 9.039 MB / 0.6797 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.7999, allocations: 52 kB / 0.6798 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.8001, allocations: 120 kB / 0.6799 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.8035, allocations: 1.131 MB / 0.681 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/0.8089, allocations: 1.396 MB / 0.6824 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.815, allocations: 4.804 MB / 0.6871 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/0.8193, allocations: 323.8 kB / 0.6874 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/0.8205, allocations: 362.5 kB / 0.6877 GB, free: 9.336 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 748 * Array equations: 6 * 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): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.006521/0.8271, allocations: 2.426 MB / 0.6901 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008043/0.8279, allocations: 316 kB / 0.6904 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008713/0.8366, allocations: 4.503 MB / 0.6948 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/0.8367, allocations: 7.969 kB / 0.6948 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8367, allocations: 0 / 0.6948 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.8378, allocations: 341.1 kB / 0.6951 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008188/0.8386, allocations: 37.5 kB / 0.6952 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.8403, allocations: 135.8 kB / 0.6953 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.8407, allocations: 121.2 kB / 0.6954 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007988/0.8487, allocations: 4.203 MB / 0.6995 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008759/0.8575, allocations: 6.369 MB / 0.7057 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002413/0.86, allocations: 1.772 MB / 0.7075 GB, free: 5.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004581/0.8646, allocations: 1.948 MB / 0.7094 GB, free: 3.121 MB / 0.545 GB Notification: Performance of Backend: time 7.02e-07/0.8646, allocations: 0 / 0.7094 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.8757, allocations: 4.645 MB / 0.7139 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02369/0.8995, allocations: 10.53 MB / 0.7242 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.3637/1.263, allocations: 48.28 MB / 0.7713 GB, free: 215.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches