Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103.7 kB / 17.08 MB, free: 5.988 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.001249/0.001249, allocations: 192.2 kB / 18.01 MB, free: 5.07 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.404/1.404, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2109/0.2109, allocations: 43.53 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.001386/0.001386, allocations: 71.83 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.0147/0.1387, allocations: 14.52 MB / 0.5027 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1492, allocations: 4.506 MB / 0.5071 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.1521, allocations: 75.81 kB / 0.5072 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.1569, allocations: 2.378 MB / 0.5095 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1621, allocations: 2.004 MB / 0.5115 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.1637, allocations: 0.5848 MB / 0.5121 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005682/0.1694, allocations: 4.312 MB / 0.5163 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005115/0.1745, allocations: 3.707 MB / 0.5199 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.1776, allocations: 1.662 MB / 0.5215 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.1811, allocations: 2.258 MB / 0.5237 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.1823, allocations: 372 kB / 0.5241 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.1853, allocations: 1.229 MB / 0.5253 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.188, allocations: 2.119 MB / 0.5273 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004355/0.1923, allocations: 2.528 MB / 0.5298 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3071/0.4995, allocations: 8.29 MB / 0.5379 GB, free: 11.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4995, allocations: 0.6875 kB / 0.5379 GB, free: 11.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4996, allocations: 1.188 kB / 0.5379 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003406/0.4999, allocations: 1.5 kB / 0.5379 GB, free: 11.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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.01509/0.515, allocations: 5.476 MB / 0.5433 GB, free: 9.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5151, allocations: 12.61 kB / 0.5433 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5267, allocations: 3.201 MB / 0.5464 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006647/0.5334, allocations: 2.406 MB / 0.5487 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.5338, allocations: 272.6 kB / 0.549 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.5355, allocations: 361.6 kB / 0.5494 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/0.5629, allocations: 12.71 MB / 0.5618 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/0.5632, allocations: 33.5 kB / 0.5618 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/0.5646, allocations: 162.9 kB / 0.5619 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004096/0.5687, allocations: 2.767 MB / 0.5646 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/0.5938, allocations: 11.63 MB / 0.576 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07176/0.6656, allocations: 40.33 MB / 0.6154 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.6774, allocations: 5.01 MB / 0.6203 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004265/0.6817, allocations: 2.423 MB / 0.6227 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/0.6972, allocations: 6.849 MB / 0.6293 GB, free: 5.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.142e-05/0.6974, allocations: 56.55 kB / 0.6294 GB, free: 5.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 8.206e-06/0.6974, allocations: 0 / 0.6294 GB, free: 5.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=259): time 0.06695/0.7643, allocations: 19.36 MB / 0.6483 GB, free: 1.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.7644, allocations: 77.39 kB / 0.6484 GB, free: 1.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007184/0.7716, allocations: 3.209 MB / 0.6515 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/0.7719, allocations: 57.7 kB / 0.6516 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002866/0.7748, allocations: 3.311 MB / 0.6548 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.7759, allocations: 0.9652 MB / 0.6557 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002879/0.7788, allocations: 1.257 MB / 0.657 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7789, allocations: 301.1 kB / 0.6573 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/0.7832, allocations: 2.519 MB / 0.6597 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006766/0.7899, allocations: 5.914 MB / 0.6655 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/0.8015, allocations: 9.162 MB / 0.6744 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.8016, allocations: 36 kB / 0.6745 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02217/0.8238, allocations: 10.22 MB / 0.6844 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.824, allocations: 58.66 kB / 0.6845 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/0.8243, allocations: 122.6 kB / 0.6846 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009137/0.8334, allocations: 2.362 MB / 0.6869 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/0.8389, allocations: 1.38 MB / 0.6883 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.8592, allocations: 11.68 MB / 0.6997 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/0.8644, allocations: 327.8 kB / 0.7 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/0.8659, allocations: 362.6 kB / 0.7003 GB, free: 10.09 MB / 0.545 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 (747): * Single equations (assignments): 739 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,5), (3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.006507/0.8724, allocations: 2.445 MB / 0.7027 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.8736, allocations: 312 kB / 0.703 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009824/0.8834, allocations: 4.715 MB / 0.7076 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.8835, allocations: 21.28 kB / 0.7076 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.8835, allocations: 0 / 0.7076 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009914/0.8845, allocations: 337.1 kB / 0.708 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/0.8853, allocations: 43.28 kB / 0.708 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.8871, allocations: 143.8 kB / 0.7081 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/0.8875, allocations: 121.8 kB / 0.7083 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008677/0.8962, allocations: 4.434 MB / 0.7126 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009447/0.9056, allocations: 6.754 MB / 0.7192 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002374/0.908, allocations: 1.888 MB / 0.721 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004335/0.9124, allocations: 1.948 MB / 0.7229 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of Backend: time 7.52e-07/0.9124, allocations: 0 / 0.7229 GB, free: 2.77 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01237/0.9248, allocations: 4.908 MB / 0.7277 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02526/0.9501, allocations: 10.5 MB / 0.738 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of Templates: time 0.3619/1.312, allocations: 54.23 MB / 0.7909 GB, free: 200.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches