Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.001358/0.001358, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001527/0.001527, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2372/0.2372, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 66.03 MB / 0.5618 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01365/0.3512, allocations: 11.06 MB / 0.5726 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.3595, allocations: 3.873 MB / 0.5764 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.3609, allocations: 79.62 kB / 0.5765 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.3647, allocations: 1.814 MB / 0.5783 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.3696, allocations: 1.829 MB / 0.58 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3709, allocations: 0.5029 MB / 0.5805 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.3755, allocations: 3.778 MB / 0.5842 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.3783, allocations: 2.359 MB / 0.5865 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.3801, allocations: 1.374 MB / 0.5879 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.3832, allocations: 2.064 MB / 0.5899 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006193/0.3838, allocations: 284 kB / 0.5902 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.386, allocations: 1.03 MB / 0.5912 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.3878, allocations: 1.792 MB / 0.5929 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.3898, allocations: 1.494 MB / 0.5944 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.3983, allocations: 7.006 MB / 0.6012 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3983, allocations: 4 kB / 0.6012 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3983, allocations: 0 / 0.6012 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.3985, allocations: 0 / 0.6012 GB, free: 11.68 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: 1643 * Number of variables: 1643 Notification: Performance of Generate backend data structure: time 0.01168/0.4102, allocations: 4.866 MB / 0.606 GB, free: 6.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4103, allocations: 8.031 kB / 0.606 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4215, allocations: 3.145 MB / 0.609 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.4271, allocations: 2.004 MB / 0.611 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4273, allocations: 225.7 kB / 0.6112 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4284, allocations: 283.9 kB / 0.6115 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.4493, allocations: 11.41 MB / 0.6226 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4494, allocations: 23.77 kB / 0.6227 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/0.4499, allocations: 135.8 kB / 0.6228 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004408/0.4543, allocations: 2.581 MB / 0.6253 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.4767, allocations: 10.66 MB / 0.6357 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/0.5339, allocations: 32.75 MB / 0.6677 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008879/0.5427, allocations: 3.511 MB / 0.6711 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.5461, allocations: 2.058 MB / 0.6731 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009484/0.5471, allocations: 435.5 kB / 0.6735 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.5471, allocations: 56.56 kB / 0.6736 GB, free: 172 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 5.69e-06/0.5471, allocations: 0 / 0.6736 GB, free: 172 kB / 0.4981 GB Notification: Performance of matching and sorting (n=247): time 0.04023/0.5873, allocations: 13.08 MB / 0.6864 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.5874, allocations: 77.34 kB / 0.6864 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/0.5918, allocations: 2.8 MB / 0.6892 GB, free: 200 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.5923, allocations: 57.7 kB / 0.6892 GB, free: 136 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002516/0.5948, allocations: 2.982 MB / 0.6921 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.5962, allocations: 0.9455 MB / 0.6931 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/0.5979, allocations: 1.124 MB / 0.6942 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.598, allocations: 301.1 kB / 0.6945 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.6016, allocations: 2.252 MB / 0.6967 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/0.608, allocations: 5.34 MB / 0.7019 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/0.6194, allocations: 8.327 MB / 0.71 GB, free: 7.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002811/0.6197, allocations: 35.94 kB / 0.71 GB, free: 7.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01811/0.6378, allocations: 8.278 MB / 0.7181 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.6379, allocations: 58.44 kB / 0.7182 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.6381, allocations: 112.2 kB / 0.7183 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/0.6417, allocations: 1.005 MB / 0.7193 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/0.6462, allocations: 1.283 MB / 0.7205 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.6494, allocations: 2.462 MB / 0.7229 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.6529, allocations: 307.8 kB / 0.7232 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007147/0.6536, allocations: 324 kB / 0.7235 GB, free: 9.805 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (696): * Single equations (assignments): 687 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003794/0.6574, allocations: 2.193 MB / 0.7257 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.6579, allocations: 274.1 kB / 0.7259 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009447/0.6673, allocations: 4.793 MB / 0.7306 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/0.6674, allocations: 8.062 kB / 0.7306 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.6674, allocations: 4 kB / 0.7306 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/0.6682, allocations: 234.1 kB / 0.7308 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.6687, allocations: 39.92 kB / 0.7309 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6698, allocations: 127.8 kB / 0.731 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.6701, allocations: 125.8 kB / 0.7311 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2826/0.9527, allocations: 4.031 MB / 0.7351 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006874/0.9596, allocations: 6.291 MB / 0.7412 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001645/0.9612, allocations: 1.578 MB / 0.7427 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001798/0.963, allocations: 1.575 MB / 0.7443 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of Backend: time 6.62e-07/0.963, allocations: 0 / 0.7443 GB, free: 149.1 MB / 0.5606 GB [/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 $DER.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 $DER.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.007674/0.9707, allocations: 4.241 MB / 0.7484 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01321/0.9839, allocations: 9.608 MB / 0.7578 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0648/1.049, allocations: 46.44 MB / 0.8032 GB, free: 94.93 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.071789973997511]