Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 217.1 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 46.96 MB / 361.6 MB, free: 4.09 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 66.03 MB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01551/0.3454, allocations: 12.19 MB / 0.5737 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3557, allocations: 4.237 MB / 0.5779 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.3578, allocations: 87.62 kB / 0.578 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004926/0.3628, allocations: 2.312 MB / 0.5802 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.3678, allocations: 1.969 MB / 0.5821 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3693, allocations: 0.5887 MB / 0.5827 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006496/0.3758, allocations: 4.164 MB / 0.5868 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004844/0.3806, allocations: 3.007 MB / 0.5897 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.3836, allocations: 1.62 MB / 0.5913 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.3879, allocations: 2.363 MB / 0.5936 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.3891, allocations: 352 kB / 0.5939 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.392, allocations: 1.12 MB / 0.595 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002613/0.3946, allocations: 2.049 MB / 0.597 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.3977, allocations: 1.747 MB / 0.5987 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.409, allocations: 7.901 MB / 0.6065 GB, free: 6.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.409, allocations: 3.938 kB / 0.6065 GB, free: 6.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.409, allocations: 4 kB / 0.6065 GB, free: 6.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002927/0.4093, allocations: 7.938 kB / 0.6065 GB, free: 6.195 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: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.01443/0.4237, allocations: 5.411 MB / 0.6118 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4238, allocations: 8.031 kB / 0.6118 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.4351, allocations: 3.207 MB / 0.6149 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006893/0.442, allocations: 2.234 MB / 0.6171 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.4424, allocations: 259.1 kB / 0.6173 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.4444, allocations: 355.7 kB / 0.6177 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.468, allocations: 12.24 MB / 0.6296 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.4681, allocations: 43.64 kB / 0.6297 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.4686, allocations: 159.8 kB / 0.6298 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004559/0.4732, allocations: 2.633 MB / 0.6324 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.4978, allocations: 11.21 MB / 0.6433 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06508/0.5629, allocations: 35.89 MB / 0.6784 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5733, allocations: 3.805 MB / 0.6821 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.5768, allocations: 2.223 MB / 0.6843 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5885, allocations: 4.971 MB / 0.6891 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/0.5886, allocations: 56.61 kB / 0.6892 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 6.432e-06/0.5886, allocations: 3.938 kB / 0.6892 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.05265/0.6413, allocations: 18.68 MB / 0.7074 GB, free: 13.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6413, allocations: 73.41 kB / 0.7075 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.6461, allocations: 3.169 MB / 0.7106 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003938/0.6465, allocations: 57.7 kB / 0.7106 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002767/0.6493, allocations: 3.344 MB / 0.7139 GB, free: 6.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/0.6506, allocations: 0.9727 MB / 0.7149 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/0.6525, allocations: 1.239 MB / 0.7161 GB, free: 4.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6527, allocations: 301.1 kB / 0.7164 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.6566, allocations: 2.46 MB / 0.7188 GB, free: 1.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/0.6637, allocations: 5.784 MB / 0.7244 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2991/0.9627, allocations: 8.94 MB / 0.7331 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/0.9629, allocations: 33.16 kB / 0.7332 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02121/0.9841, allocations: 10 MB / 0.7429 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.9842, allocations: 55.69 kB / 0.743 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.9843, allocations: 114 kB / 0.7431 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008455/0.9928, allocations: 2.369 MB / 0.7454 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.9969, allocations: 1.334 MB / 0.7467 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.016, allocations: 13.37 MB / 0.7598 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.021, allocations: 325.5 kB / 0.7601 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007728/1.022, allocations: 352 kB / 0.7604 GB, free: 136.3 MB / 0.5606 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.003602/1.025, allocations: 2.348 MB / 0.7627 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/1.026, allocations: 312.5 kB / 0.763 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006339/1.032, allocations: 4.578 MB / 0.7675 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/1.032, allocations: 7.969 kB / 0.7675 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.032, allocations: 3.984 kB / 0.7675 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/1.033, allocations: 258 kB / 0.7677 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/1.033, allocations: 36 kB / 0.7678 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.034, allocations: 131.8 kB / 0.7679 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.034, allocations: 137.5 kB / 0.768 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00583/1.04, allocations: 4.332 MB / 0.7723 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006288/1.047, allocations: 6.602 MB / 0.7787 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001624/1.048, allocations: 1.675 MB / 0.7803 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001975/1.05, allocations: 1.777 MB / 0.7821 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of Backend: time 2.7e-07/1.05, allocations: 3.938 kB / 0.7821 GB, free: 114.5 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.007564/1.058, allocations: 4.677 MB / 0.7867 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01346/1.071, allocations: 10.37 MB / 0.7968 GB, free: 99.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07509/1.146, allocations: 56.62 MB / 0.8521 GB, free: 43.39 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.597841665003216]