Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.001354/0.001354, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.002408/0.002408, allocations: 217.1 kB / 24.49 MB, free: 3.926 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2418/0.2418, allocations: 46.97 MB / 361.6 MB, free: 4.012 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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.88 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01604/0.3539, allocations: 12.19 MB / 0.5737 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3662, allocations: 4.229 MB / 0.5779 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.369, allocations: 87.56 kB / 0.5779 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.3746, allocations: 2.309 MB / 0.5802 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.3811, allocations: 1.961 MB / 0.5821 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.3836, allocations: 0.5965 MB / 0.5827 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007964/0.3916, allocations: 4.148 MB / 0.5867 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005085/0.3967, allocations: 2.953 MB / 0.5896 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.3999, allocations: 1.608 MB / 0.5912 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.4037, allocations: 2.344 MB / 0.5935 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.4048, allocations: 348 kB / 0.5938 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.4077, allocations: 1.123 MB / 0.5949 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002461/0.4101, allocations: 2.045 MB / 0.5969 GB, free: 40 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.4128, allocations: 1.731 MB / 0.5986 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.4239, allocations: 7.867 MB / 0.6063 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4239, allocations: 7.938 kB / 0.6063 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4239, allocations: 0 / 0.6063 GB, free: 6.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002974/0.4242, allocations: 0 / 0.6063 GB, free: 6.391 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.01637/0.4406, allocations: 5.399 MB / 0.6116 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4406, allocations: 12.03 kB / 0.6116 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.4519, allocations: 3.207 MB / 0.6147 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006364/0.4582, allocations: 2.222 MB / 0.6169 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.4585, allocations: 259 kB / 0.6171 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.4597, allocations: 355.7 kB / 0.6175 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.4824, allocations: 12.2 MB / 0.6294 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.4825, allocations: 27.77 kB / 0.6294 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005244/0.483, allocations: 159.8 kB / 0.6296 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004386/0.4874, allocations: 2.633 MB / 0.6321 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/0.5119, allocations: 11.19 MB / 0.6431 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06956/0.5814, allocations: 35.8 MB / 0.678 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.5926, allocations: 3.891 MB / 0.6818 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003896/0.5965, allocations: 2.207 MB / 0.684 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.6105, allocations: 4.966 MB / 0.6888 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.6106, allocations: 52.56 kB / 0.6889 GB, free: 304 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 7.293e-06/0.6106, allocations: 0 / 0.6889 GB, free: 304 kB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.04397/0.6545, allocations: 15.85 MB / 0.7044 GB, free: 424 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.6546, allocations: 73.41 kB / 0.7044 GB, free: 340 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.6598, allocations: 3.173 MB / 0.7075 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004295/0.6602, allocations: 53.7 kB / 0.7076 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/0.6631, allocations: 3.332 MB / 0.7108 GB, free: 9.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.6646, allocations: 0.9224 MB / 0.7117 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002303/0.6669, allocations: 1.207 MB / 0.7129 GB, free: 7.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.667, allocations: 305.1 kB / 0.7132 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.6712, allocations: 2.382 MB / 0.7155 GB, free: 4.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/0.6785, allocations: 5.697 MB / 0.7211 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.6911, allocations: 8.764 MB / 0.7296 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.6912, allocations: 36 kB / 0.7297 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.2895/0.9808, allocations: 8.831 MB / 0.7383 GB, free: 150 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.9808, allocations: 68.06 kB / 0.7384 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.981, allocations: 117.1 kB / 0.7385 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.9843, allocations: 1.129 MB / 0.7396 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/0.9887, allocations: 1.354 MB / 0.7409 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.9963, allocations: 6.636 MB / 0.7474 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1, allocations: 322.4 kB / 0.7477 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007495/1.001, allocations: 344.6 kB / 0.748 GB, free: 145.9 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 (734): * Single equations (assignments): 726 * 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.003141/1.004, allocations: 2.342 MB / 0.7503 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/1.004, allocations: 296.5 kB / 0.7506 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/1.01, allocations: 4.38 MB / 0.7549 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/1.01, allocations: 7.969 kB / 0.7549 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.011, allocations: 0 / 0.7549 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/1.011, allocations: 261.7 kB / 0.7551 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.011, allocations: 32 kB / 0.7552 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.012, allocations: 143 kB / 0.7553 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.013, allocations: 117 kB / 0.7554 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005473/1.018, allocations: 4.092 MB / 0.7594 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005855/1.024, allocations: 6.229 MB / 0.7655 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001515/1.026, allocations: 1.581 MB / 0.767 GB, free: 130 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002555/1.028, allocations: 1.777 MB / 0.7688 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of Backend: time 2.8e-07/1.028, allocations: 3.75 kB / 0.7688 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007731/1.036, allocations: 4.425 MB / 0.7731 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01577/1.052, allocations: 10.36 MB / 0.7832 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07642/1.128, allocations: 51.77 MB / 0.8338 GB, free: 62.23 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.4062055479953415]