Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.753/1.753, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3935, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01619/0.4097, allocations: 13.96 MB / 0.5453 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.4232, allocations: 4.423 MB / 0.5496 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.4266, allocations: 79 kB / 0.5497 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.4314, allocations: 2.354 MB / 0.552 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005113/0.4366, allocations: 1.949 MB / 0.5539 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.4382, allocations: 0.5887 MB / 0.5545 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.444, allocations: 4.151 MB / 0.5585 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.4489, allocations: 3.587 MB / 0.562 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.4516, allocations: 1.573 MB / 0.5636 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.4549, allocations: 2.153 MB / 0.5657 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009619/0.4559, allocations: 348 kB / 0.566 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.4586, allocations: 1.198 MB / 0.5672 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.461, allocations: 1.999 MB / 0.5691 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003377/0.4644, allocations: 2.376 MB / 0.5714 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009626/0.4741, allocations: 7.831 MB / 0.5791 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4741, allocations: 0 / 0.5791 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4741, allocations: 3.938 kB / 0.5791 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003113/0.4744, allocations: 0 / 0.5791 GB, free: 0.9688 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.01401/0.4884, allocations: 5.474 MB / 0.5844 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4885, allocations: 8.031 kB / 0.5845 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.4992, allocations: 3.203 MB / 0.5876 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/0.5041, allocations: 2.271 MB / 0.5898 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.5043, allocations: 266.9 kB / 0.5901 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.5056, allocations: 343.7 kB / 0.5904 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.5245, allocations: 12.18 MB / 0.6023 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.5247, allocations: 31.7 kB / 0.6023 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000579/0.5253, allocations: 159.8 kB / 0.6025 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.5289, allocations: 2.641 MB / 0.605 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.548, allocations: 11.21 MB / 0.616 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05452/0.6025, allocations: 38.96 MB / 0.654 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00935/0.6119, allocations: 4.984 MB / 0.6589 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.6149, allocations: 2.366 MB / 0.6612 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009802/0.6248, allocations: 6.831 MB / 0.6679 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.6248, allocations: 52.56 kB / 0.6679 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 5.851e-06/0.6249, allocations: 0 / 0.6679 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.03432/0.6592, allocations: 16.26 MB / 0.6838 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6592, allocations: 73.41 kB / 0.6839 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.6633, allocations: 3.129 MB / 0.6869 GB, free: 232 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.6635, allocations: 53.7 kB / 0.687 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.6654, allocations: 3.317 MB / 0.6902 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007415/0.6662, allocations: 0.9302 MB / 0.6911 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.6677, allocations: 1.215 MB / 0.6923 GB, free: 10.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.6678, allocations: 301.1 kB / 0.6926 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/0.6711, allocations: 2.378 MB / 0.6949 GB, free: 7.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005212/0.6763, allocations: 5.697 MB / 0.7005 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009676/0.686, allocations: 8.76 MB / 0.709 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.6862, allocations: 40 kB / 0.7091 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.01675/0.703, allocations: 8.85 MB / 0.7177 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.7031, allocations: 56.97 kB / 0.7178 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/0.7033, allocations: 116 kB / 0.7179 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/0.7068, allocations: 1.145 MB / 0.719 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/0.7119, allocations: 1.349 MB / 0.7203 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/0.7215, allocations: 6.961 MB / 0.7271 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.7259, allocations: 315.8 kB / 0.7274 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/0.727, allocations: 356 kB / 0.7278 GB, free: 2.777 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 (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.006229/0.7332, allocations: 2.338 MB / 0.73 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008867/0.7341, allocations: 313.9 kB / 0.7303 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3358/1.07, allocations: 4.385 MB / 0.7346 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.07, allocations: 12.61 kB / 0.7346 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.07, allocations: 0 / 0.7346 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/1.071, allocations: 346.7 kB / 0.735 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.071, allocations: 37.41 kB / 0.735 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.072, allocations: 132 kB / 0.7351 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/1.073, allocations: 112.1 kB / 0.7352 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008461/1.081, allocations: 4.116 MB / 0.7393 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008955/1.09, allocations: 6.239 MB / 0.7454 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003013/1.093, allocations: 1.741 MB / 0.7471 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005336/1.099, allocations: 1.889 MB / 0.7489 GB, free: 171 MB / 0.5762 GB Notification: Performance of Backend: time 9.81e-07/1.099, allocations: 0 / 0.7489 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01553/1.114, allocations: 4.682 MB / 0.7535 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02606/1.14, allocations: 10.35 MB / 0.7636 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.144/1.284, allocations: 47.63 MB / 0.8101 GB, free: 112.7 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches