Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001313/0.001313, allocations: 113.9 kB / 18.46 MB, free: 4.609 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.001239/0.001239, allocations: 186.1 kB / 19.39 MB, free: 3.684 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.353/1.353, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2087/0.2087, allocations: 44.2 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01945/0.3518, allocations: 14.12 MB / 0.5334 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3638, allocations: 4.433 MB / 0.5377 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.3666, allocations: 76.66 kB / 0.5378 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005081/0.3717, allocations: 2.373 MB / 0.5401 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.3779, allocations: 1.994 MB / 0.542 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3797, allocations: 0.5932 MB / 0.5426 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007926/0.3876, allocations: 4.188 MB / 0.5467 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.3931, allocations: 3.672 MB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.3962, allocations: 1.62 MB / 0.5519 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/0.3996, allocations: 2.176 MB / 0.554 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.4007, allocations: 356 kB / 0.5543 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.4034, allocations: 1.221 MB / 0.5555 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.4055, allocations: 2.057 MB / 0.5575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.4082, allocations: 2.454 MB / 0.5599 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009842/0.418, allocations: 8.057 MB / 0.5678 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4181, allocations: 0 / 0.5678 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4181, allocations: 0 / 0.5678 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002028/0.4183, allocations: 0 / 0.5678 GB, free: 10.52 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.01189/0.4302, allocations: 5.49 MB / 0.5732 GB, free: 4.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4302, allocations: 8.031 kB / 0.5732 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.442, allocations: 3.215 MB / 0.5763 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005814/0.4478, allocations: 2.321 MB / 0.5786 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4481, allocations: 267.1 kB / 0.5788 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009675/0.4491, allocations: 355.7 kB / 0.5792 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.4692, allocations: 12.39 MB / 0.5913 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.4693, allocations: 27.77 kB / 0.5913 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.4698, allocations: 163.8 kB / 0.5915 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/0.474, allocations: 2.703 MB / 0.5941 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.4945, allocations: 11.32 MB / 0.6051 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06103/0.5555, allocations: 39.49 MB / 0.6437 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.566, allocations: 4.889 MB / 0.6485 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.5695, allocations: 2.374 MB / 0.6508 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.5802, allocations: 6.77 MB / 0.6574 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.5802, allocations: 48.56 kB / 0.6575 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 6.102e-06/0.5802, allocations: 8 kB / 0.6575 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.05279/0.633, allocations: 18.99 MB / 0.676 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.6331, allocations: 77.41 kB / 0.6761 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/0.6388, allocations: 3.145 MB / 0.6792 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.6392, allocations: 57.7 kB / 0.6792 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.6419, allocations: 3.372 MB / 0.6825 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.6431, allocations: 0.9766 MB / 0.6835 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/0.6452, allocations: 1.231 MB / 0.6847 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6454, allocations: 301.1 kB / 0.685 GB, free: 232 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/0.6492, allocations: 2.456 MB / 0.6873 GB, free: 13.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006153/0.6553, allocations: 5.78 MB / 0.693 GB, free: 6.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6664, allocations: 8.938 MB / 0.7017 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.6665, allocations: 35.94 kB / 0.7018 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02151/0.6881, allocations: 10.04 MB / 0.7116 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6882, allocations: 52 kB / 0.7116 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/0.6884, allocations: 116 kB / 0.7117 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009579/0.698, allocations: 2.362 MB / 0.714 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/0.7025, allocations: 1.333 MB / 0.7153 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.7224, allocations: 11.71 MB / 0.7268 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/0.7267, allocations: 323.8 kB / 0.7271 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008969/0.7276, allocations: 348 kB / 0.7274 GB, free: 1.281 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.arrowLine.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.2633/0.9909, allocations: 2.382 MB / 0.7297 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/0.9916, allocations: 320.5 kB / 0.73 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008723/1, allocations: 4.589 MB / 0.7345 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/1, allocations: 11.28 kB / 0.7345 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1, allocations: 1.438 kB / 0.7345 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/1.001, allocations: 349.4 kB / 0.7349 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.002, allocations: 38.06 kB / 0.7349 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.003, allocations: 134.6 kB / 0.735 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.003, allocations: 123.2 kB / 0.7352 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007693/1.011, allocations: 4.343 MB / 0.7394 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008389/1.019, allocations: 6.608 MB / 0.7458 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002037/1.021, allocations: 1.837 MB / 0.7476 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002366/1.024, allocations: 1.899 MB / 0.7495 GB, free: 174 MB / 0.5762 GB Notification: Performance of Backend: time 2.51e-07/1.024, allocations: 0 / 0.7495 GB, free: 174 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.008182/1.032, allocations: 4.81 MB / 0.7542 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01476/1.047, allocations: 10.44 MB / 0.7644 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.07006/1.117, allocations: 52.78 MB / 0.8159 GB, free: 114.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches