Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001144/0.001144, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2177/0.2177, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3838, allocations: 60.83 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01471/0.3985, allocations: 14.11 MB / 0.5334 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.4102, allocations: 4.43 MB / 0.5377 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.4132, allocations: 80.62 kB / 0.5378 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005022/0.4183, allocations: 2.368 MB / 0.5401 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.4238, allocations: 1.987 MB / 0.542 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4257, allocations: 0.5925 MB / 0.5426 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007527/0.4333, allocations: 4.175 MB / 0.5467 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005446/0.4387, allocations: 3.616 MB / 0.5502 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.442, allocations: 1.612 MB / 0.5518 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.4457, allocations: 2.169 MB / 0.5539 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.4469, allocations: 356 kB / 0.5542 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4503, allocations: 1.221 MB / 0.5554 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002828/0.4532, allocations: 2.049 MB / 0.5574 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004495/0.4577, allocations: 2.435 MB / 0.5598 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.4686, allocations: 7.976 MB / 0.5676 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4687, allocations: 0 / 0.5676 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4687, allocations: 0 / 0.5676 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003143/0.469, allocations: 0 / 0.5676 GB, free: 10.86 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01559/0.4846, allocations: 5.339 MB / 0.5728 GB, free: 5.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.4847, allocations: 8.031 kB / 0.5728 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.4966, allocations: 3.184 MB / 0.5759 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006867/0.5035, allocations: 2.301 MB / 0.5782 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.5039, allocations: 263 kB / 0.5784 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.5056, allocations: 355.8 kB / 0.5788 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/0.5316, allocations: 12.34 MB / 0.5908 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.5318, allocations: 27.75 kB / 0.5908 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.5332, allocations: 163.8 kB / 0.591 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004911/0.5381, allocations: 2.696 MB / 0.5936 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/0.5642, allocations: 11.3 MB / 0.6047 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/0.6296, allocations: 39.31 MB / 0.6431 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.6409, allocations: 4.946 MB / 0.6479 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.6446, allocations: 2.37 MB / 0.6502 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.6567, allocations: 6.734 MB / 0.6568 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6567, allocations: 52.56 kB / 0.6568 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 4.879e-06/0.6568, allocations: 0 / 0.6568 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.03979/0.6966, allocations: 16.16 MB / 0.6726 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.6966, allocations: 73.41 kB / 0.6727 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005656/0.7023, allocations: 3.133 MB / 0.6757 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.7025, allocations: 49.7 kB / 0.6758 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.7049, allocations: 3.235 MB / 0.6789 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009113/0.7058, allocations: 0.8788 MB / 0.6798 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/0.7078, allocations: 1.206 MB / 0.681 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7079, allocations: 305.1 kB / 0.6813 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/0.7116, allocations: 2.37 MB / 0.6836 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.718, allocations: 5.697 MB / 0.6892 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.7283, allocations: 8.76 MB / 0.6977 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/0.7285, allocations: 32 kB / 0.6977 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.0178/0.7463, allocations: 8.837 MB / 0.7064 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.7465, allocations: 52 kB / 0.7064 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/0.7467, allocations: 120 kB / 0.7065 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/0.7504, allocations: 1.126 MB / 0.7076 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/0.7553, allocations: 1.349 MB / 0.7089 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.7615, allocations: 4.796 MB / 0.7136 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.7656, allocations: 319.7 kB / 0.7139 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009446/0.7665, allocations: 351.9 kB / 0.7143 GB, free: 14.78 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 (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.004724/0.7713, allocations: 2.373 MB / 0.7166 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008839/0.7722, allocations: 296.2 kB / 0.7169 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009819/0.782, allocations: 4.386 MB / 0.7212 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.7821, allocations: 11.95 kB / 0.7212 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7821, allocations: 0 / 0.7212 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000841/0.7829, allocations: 333.2 kB / 0.7215 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007428/0.7837, allocations: 35.98 kB / 0.7215 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.7853, allocations: 127.9 kB / 0.7216 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.7856, allocations: 121.7 kB / 0.7218 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007631/0.7933, allocations: 4.104 MB / 0.7258 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3367/1.13, allocations: 6.215 MB / 0.7318 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002728/1.133, allocations: 1.725 MB / 0.7335 GB, free: 180.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003644/1.136, allocations: 1.903 MB / 0.7354 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of Backend: time 7.92e-07/1.136, allocations: 0 / 0.7354 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.148, allocations: 4.53 MB / 0.7398 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0183/1.166, allocations: 10.3 MB / 0.7499 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.07367/1.24, allocations: 47 MB / 0.7958 GB, free: 135.1 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches