Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 110.7 kB / 18.45 MB, free: 4.602 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.001278/0.001278, allocations: 187.1 kB / 19.39 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.22/0.22, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.14 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.361, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01456/0.3756, allocations: 14.03 MB / 0.5333 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3865, allocations: 4.409 MB / 0.5376 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3891, allocations: 87.25 kB / 0.5377 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.3934, allocations: 2.379 MB / 0.54 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.3978, allocations: 1.911 MB / 0.5419 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3997, allocations: 0.8963 MB / 0.5427 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005151/0.4048, allocations: 4.016 MB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.4087, allocations: 3.453 MB / 0.55 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.4115, allocations: 1.507 MB / 0.5515 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.4143, allocations: 2.056 MB / 0.5535 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.4149, allocations: 328 kB / 0.5538 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.4172, allocations: 1.159 MB / 0.555 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.4191, allocations: 1.94 MB / 0.5569 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.4214, allocations: 2.291 MB / 0.5591 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.4299, allocations: 7.637 MB / 0.5666 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4299, allocations: 0 / 0.5666 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4299, allocations: 0 / 0.5666 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.4301, allocations: 0 / 0.5666 GB, free: 11.82 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01006/0.4402, allocations: 5.227 MB / 0.5717 GB, free: 6.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4402, allocations: 12.02 kB / 0.5717 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.451, allocations: 3.176 MB / 0.5748 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.4556, allocations: 2.263 MB / 0.577 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.4558, allocations: 242.5 kB / 0.5772 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.4566, allocations: 327.8 kB / 0.5775 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/0.4742, allocations: 11.57 MB / 0.5888 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.4743, allocations: 31.75 kB / 0.5889 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.4748, allocations: 147.8 kB / 0.589 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.479, allocations: 2.578 MB / 0.5915 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.4993, allocations: 10.67 MB / 0.6019 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05006/0.5494, allocations: 36.51 MB / 0.6376 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007523/0.557, allocations: 4.285 MB / 0.6418 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.5597, allocations: 2.123 MB / 0.6438 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.5608, allocations: 1.315 MB / 0.6451 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.5609, allocations: 52.5 kB / 0.6452 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 4.609e-06/0.5609, allocations: 3.938 kB / 0.6452 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.03839/0.5993, allocations: 13.78 MB / 0.6586 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.5994, allocations: 73.41 kB / 0.6587 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.603, allocations: 2.924 MB / 0.6616 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.6032, allocations: 61.7 kB / 0.6616 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.6051, allocations: 3.162 MB / 0.6647 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008364/0.6059, allocations: 0.9882 MB / 0.6657 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.6073, allocations: 1.176 MB / 0.6668 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.6074, allocations: 301.1 kB / 0.6671 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.6106, allocations: 2.342 MB / 0.6694 GB, free: 472 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005255/0.6158, allocations: 5.564 MB / 0.6748 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009714/0.6256, allocations: 8.674 MB / 0.6833 GB, free: 15.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/0.6257, allocations: 32 kB / 0.6833 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01498/0.6406, allocations: 8.633 MB / 0.6918 GB, free: 6.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.6407, allocations: 52 kB / 0.6918 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.6409, allocations: 112 kB / 0.6919 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/0.6446, allocations: 1.045 MB / 0.6929 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/0.6491, allocations: 1.333 MB / 0.6942 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.6519, allocations: 2.608 MB / 0.6968 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.6557, allocations: 311.8 kB / 0.6971 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005887/0.6563, allocations: 340 kB / 0.6974 GB, free: 472 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (726): * Single equations (assignments): 717 * 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 {(2,100.0%), (3,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.003819/0.6601, allocations: 2.31 MB / 0.6997 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.6607, allocations: 318 kB / 0.7 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/0.6697, allocations: 4.968 MB / 0.7048 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.6697, allocations: 19.89 kB / 0.7048 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6697, allocations: 0 / 0.7048 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.6704, allocations: 338.9 kB / 0.7052 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.6708, allocations: 39.98 kB / 0.7052 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.6719, allocations: 127.8 kB / 0.7053 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.6722, allocations: 125.8 kB / 0.7054 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006625/0.6788, allocations: 4.215 MB / 0.7096 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008651/0.6875, allocations: 6.541 MB / 0.7159 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002242/0.6898, allocations: 1.804 MB / 0.7177 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002606/0.6924, allocations: 1.771 MB / 0.7194 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of Backend: time 7.71e-07/0.6924, allocations: 0 / 0.7194 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.7024, allocations: 4.795 MB / 0.7241 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of SimCode: time 0.2891/0.9916, allocations: 10.17 MB / 0.7341 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.07268/1.064, allocations: 45.86 MB / 0.7788 GB, free: 153 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches