Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 186.9 kB / 17.97 MB, free: 3.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 102.1 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3302/0.3302, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 55.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3155, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02732/0.3429, allocations: 37.95 MB / 0.5434 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.36, allocations: 8.235 MB / 0.5515 GB, free: 5.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008204/0.3683, allocations: 159.6 kB / 0.5516 GB, free: 5.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.3723, allocations: 1.782 MB / 0.5534 GB, free: 4.898 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.3769, allocations: 1.731 MB / 0.5551 GB, free: 4.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3783, allocations: 0.506 MB / 0.5556 GB, free: 3.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007785/0.3861, allocations: 5.443 MB / 0.5609 GB, free: 2.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005198/0.3914, allocations: 2.64 MB / 0.5635 GB, free: 1.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.3945, allocations: 1.197 MB / 0.5646 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.399, allocations: 2.044 MB / 0.5666 GB, free: 224 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.4005, allocations: 203.2 kB / 0.5668 GB, free: 224 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.4045, allocations: 0.9801 MB / 0.5678 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003755/0.4083, allocations: 1.707 MB / 0.5694 GB, free: 15.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004829/0.4131, allocations: 2.048 MB / 0.5714 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.4233, allocations: 6.577 MB / 0.5779 GB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.4233, allocations: 3.984 kB / 0.5779 GB, free: 6.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4234, allocations: 4 kB / 0.5779 GB, free: 6.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004046/0.4238, allocations: 0 / 0.5779 GB, free: 6.715 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0096/0.4334, allocations: 4.555 MB / 0.5823 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4334, allocations: 8.031 kB / 0.5823 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.4438, allocations: 3.114 MB / 0.5854 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00618/0.45, allocations: 2.132 MB / 0.5874 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.4502, allocations: 217.8 kB / 0.5877 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007205/0.4509, allocations: 287.7 kB / 0.5879 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.4688, allocations: 11.1 MB / 0.5988 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.706e-05/0.4689, allocations: 35.7 kB / 0.5988 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/0.4693, allocations: 135.8 kB / 0.5989 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004394/0.4737, allocations: 2.616 MB / 0.6015 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.4946, allocations: 10.38 MB / 0.6116 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05671/0.5513, allocations: 36.69 MB / 0.6475 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/0.5604, allocations: 4.582 MB / 0.6519 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/0.5637, allocations: 2.396 MB / 0.6543 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.565, allocations: 1.319 MB / 0.6556 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.5651, allocations: 56.5 kB / 0.6556 GB, free: 5.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 6.763e-06/0.5651, allocations: 0 / 0.6556 GB, free: 5.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.04091/0.606, allocations: 17.59 MB / 0.6728 GB, free: 3.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.6061, allocations: 73.41 kB / 0.6729 GB, free: 3.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/0.6107, allocations: 2.735 MB / 0.6755 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.611, allocations: 65.69 kB / 0.6756 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2662/0.8772, allocations: 2.767 MB / 0.6783 GB, free: 129.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.8782, allocations: 0.9184 MB / 0.6792 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.8798, allocations: 1.071 MB / 0.6802 GB, free: 128.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.8799, allocations: 301.1 kB / 0.6805 GB, free: 128.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.8825, allocations: 2.316 MB / 0.6828 GB, free: 127.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.8864, allocations: 5.214 MB / 0.6879 GB, free: 123.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007282/0.8937, allocations: 8.274 MB / 0.696 GB, free: 117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.15e-05/0.8938, allocations: 29.91 kB / 0.696 GB, free: 117 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01165/0.9054, allocations: 8.297 MB / 0.7041 GB, free: 114.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.9055, allocations: 48.75 kB / 0.7041 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.9056, allocations: 106.5 kB / 0.7042 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.9082, allocations: 0.9383 MB / 0.7051 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/0.9127, allocations: 1.225 MB / 0.7063 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006632/0.9193, allocations: 4.777 MB / 0.711 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/0.9231, allocations: 294.4 kB / 0.7113 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004605/0.9235, allocations: 310.6 kB / 0.7116 GB, free: 111.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003471/0.927, allocations: 2.158 MB / 0.7137 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.9274, allocations: 277.7 kB / 0.714 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008645/0.9361, allocations: 5.126 MB / 0.719 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.9362, allocations: 46.16 kB / 0.719 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.9362, allocations: 6 kB / 0.719 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.9362, allocations: 9.938 kB / 0.719 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.9556, allocations: 11.91 MB / 0.7307 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.9557, allocations: 10.09 kB / 0.7307 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.9572, allocations: 403.5 kB / 0.7311 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.9596, allocations: 0.7724 MB / 0.7318 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.9598, allocations: 51.84 kB / 0.7319 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00519/0.965, allocations: 4.089 MB / 0.7358 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.9651, allocations: 13.11 kB / 0.7359 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04096/1.006, allocations: 28.11 MB / 0.7633 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/1.006, allocations: 325.6 kB / 0.7636 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.007, allocations: 43.98 kB / 0.7637 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.008, allocations: 143.8 kB / 0.7638 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/1.008, allocations: 157 kB / 0.7639 GB, free: 73.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.008, allocations: 79.89 kB / 0.764 GB, free: 73.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001827/1.01, allocations: 1.689 MB / 0.7657 GB, free: 71.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.01, allocations: 112 / 0.7657 GB, free: 71.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004173/1.014, allocations: 1.189 MB / 0.7668 GB, free: 70.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/1.015, allocations: 193.3 kB / 0.767 GB, free: 70.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006295/1.021, allocations: 5.626 MB / 0.7725 GB, free: 64.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.021, allocations: 4 kB / 0.7725 GB, free: 64.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.023, allocations: 2.149 MB / 0.7746 GB, free: 62.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.025, allocations: 389.6 kB / 0.775 GB, free: 62.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.039, allocations: 14.13 MB / 0.7888 GB, free: 47.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.042, allocations: 3.457 MB / 0.7922 GB, free: 44.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003865/1.046, allocations: 1.99 MB / 0.7941 GB, free: 42.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/1.047, allocations: 219.4 kB / 0.7943 GB, free: 42.03 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/1.047, allocations: 0 / 0.7943 GB, free: 42.03 MB / 490.7 MB Notification: Performance of Templates: time 0.05327/1.1, allocations: 37.89 MB / 0.8313 GB, free: 4.332 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches