Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 118.9 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.001889/0.001889, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, 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.1934/0.1934, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3286, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01479/0.3434, allocations: 13.97 MB / 0.5453 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3539, allocations: 4.431 MB / 0.5496 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.3575, allocations: 79.53 kB / 0.5497 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004901/0.3624, allocations: 2.347 MB / 0.552 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.3687, allocations: 1.899 MB / 0.5539 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3707, allocations: 0.5887 MB / 0.5544 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.3775, allocations: 4.178 MB / 0.5585 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005647/0.3831, allocations: 3.637 MB / 0.5621 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.3862, allocations: 1.592 MB / 0.5636 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.3899, allocations: 2.165 MB / 0.5657 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.3911, allocations: 348 kB / 0.5661 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.3941, allocations: 1.205 MB / 0.5672 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002121/0.3962, allocations: 2.006 MB / 0.5692 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.3989, allocations: 2.388 MB / 0.5715 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.4078, allocations: 7.845 MB / 0.5792 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4078, allocations: 0 / 0.5792 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4078, allocations: 0 / 0.5792 GB, free: 0.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.408, allocations: 0 / 0.5792 GB, free: 0.832 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.01237/0.4204, allocations: 5.37 MB / 0.5844 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4204, allocations: 8.031 kB / 0.5845 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.4309, allocations: 3.176 MB / 0.5876 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/0.436, allocations: 2.27 MB / 0.5898 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4363, allocations: 263 kB / 0.59 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007568/0.437, allocations: 351.7 kB / 0.5904 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.4568, allocations: 12.21 MB / 0.6023 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4569, allocations: 35.72 kB / 0.6023 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004435/0.4573, allocations: 159.8 kB / 0.6025 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.4613, allocations: 2.637 MB / 0.605 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/0.4832, allocations: 11.24 MB / 0.616 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05801/0.5412, allocations: 38.96 MB / 0.6541 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/0.5512, allocations: 4.9 MB / 0.6589 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.5543, allocations: 2.374 MB / 0.6612 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009781/0.5641, allocations: 6.836 MB / 0.6678 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5642, allocations: 52.56 kB / 0.6679 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 4.779e-06/0.5642, allocations: 3.938 kB / 0.6679 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.04955/0.6137, allocations: 18.94 MB / 0.6864 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6138, allocations: 77.41 kB / 0.6865 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.6192, allocations: 3.116 MB / 0.6895 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.6194, allocations: 61.7 kB / 0.6896 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.6215, allocations: 3.193 MB / 0.6927 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008835/0.6224, allocations: 0.9329 MB / 0.6936 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/0.6239, allocations: 1.226 MB / 0.6948 GB, free: 8.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.6241, allocations: 301.1 kB / 0.6951 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/0.6275, allocations: 2.464 MB / 0.6975 GB, free: 5.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005589/0.6331, allocations: 5.773 MB / 0.7031 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.6434, allocations: 8.95 MB / 0.7119 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-05/0.6435, allocations: 36 kB / 0.7119 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02198/0.6655, allocations: 10.03 MB / 0.7217 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.6656, allocations: 59.92 kB / 0.7218 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.6658, allocations: 116 kB / 0.7219 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008961/0.6747, allocations: 2.378 MB / 0.7242 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.679, allocations: 1.33 MB / 0.7255 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2756/0.9546, allocations: 13.82 MB / 0.739 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/0.9583, allocations: 322.8 kB / 0.7393 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/0.9588, allocations: 351.3 kB / 0.7396 GB, free: 169 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (725): * Single equations (assignments): 717 * 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.003369/0.9622, allocations: 2.359 MB / 0.7419 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.9626, allocations: 302.7 kB / 0.7422 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/0.9691, allocations: 4.596 MB / 0.7467 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.9691, allocations: 7.594 kB / 0.7467 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.9692, allocations: 3.906 kB / 0.7467 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.9695, allocations: 339.5 kB / 0.747 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.9698, allocations: 42.19 kB / 0.7471 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.9709, allocations: 133.8 kB / 0.7472 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.9712, allocations: 117.8 kB / 0.7473 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005794/0.977, allocations: 4.354 MB / 0.7516 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006321/0.9833, allocations: 6.597 MB / 0.758 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001677/0.985, allocations: 1.84 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002034/0.9871, allocations: 1.887 MB / 0.7617 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of Backend: time 8.11e-07/0.9871, allocations: 0 / 0.7617 GB, free: 160.6 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159: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 trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159: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.007876/0.995, allocations: 4.949 MB / 0.7665 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01242/1.007, allocations: 10.18 MB / 0.7764 GB, free: 146 MB / 0.5762 GB Notification: Performance of Templates: time 0.07416/1.082, allocations: 53.78 MB / 0.829 GB, free: 92.46 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches