Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 222.4 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.000926, allocations: 92.92 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.327/0.327, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009802, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1154, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2289/0.3443, allocations: 38.31 MB / 0.513 GB, free: 36.66 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.3596, allocations: 8.289 MB / 0.5211 GB, free: 34.61 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.3659, allocations: 150.8 kB / 0.5213 GB, free: 34.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.3691, allocations: 1.803 MB / 0.523 GB, free: 34.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.3729, allocations: 1.744 MB / 0.5247 GB, free: 33.49 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.3739, allocations: 0.5176 MB / 0.5252 GB, free: 33.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004159/0.378, allocations: 5.568 MB / 0.5307 GB, free: 31.87 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.3801, allocations: 2.647 MB / 0.5332 GB, free: 30.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3811, allocations: 1.234 MB / 0.5344 GB, free: 30.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.3828, allocations: 2.082 MB / 0.5365 GB, free: 29.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.3831, allocations: 206.8 kB / 0.5367 GB, free: 29.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.3846, allocations: 0.9693 MB / 0.5376 GB, free: 29.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009686/0.3856, allocations: 1.732 MB / 0.5393 GB, free: 29.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.3868, allocations: 2.092 MB / 0.5414 GB, free: 27.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.3924, allocations: 6.684 MB / 0.5479 GB, free: 25.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3924, allocations: 3.125 kB / 0.5479 GB, free: 25.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3924, allocations: 4 kB / 0.5479 GB, free: 25.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001393/0.3925, allocations: 0 / 0.5479 GB, free: 25.55 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.007251/0.3998, allocations: 4.649 MB / 0.5524 GB, free: 22.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3998, allocations: 10.02 kB / 0.5524 GB, free: 22.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4103, allocations: 3.111 MB / 0.5555 GB, free: 22.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.416, allocations: 2.192 MB / 0.5576 GB, free: 20.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.4162, allocations: 222.7 kB / 0.5578 GB, free: 20.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005867/0.4168, allocations: 300 kB / 0.5581 GB, free: 20.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4329, allocations: 11.32 MB / 0.5692 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.765e-05/0.4331, allocations: 35.73 kB / 0.5692 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.4335, allocations: 138 kB / 0.5693 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.4375, allocations: 2.714 MB / 0.572 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.4502, allocations: 10.48 MB / 0.5822 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04442/0.4946, allocations: 37.5 MB / 0.6188 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007872/0.5026, allocations: 4.585 MB / 0.6233 GB, free: 7.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.5053, allocations: 2.396 MB / 0.6257 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.5064, allocations: 1.321 MB / 0.6269 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5064, allocations: 60.44 kB / 0.627 GB, free: 3.344 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 5.58e-06/0.5064, allocations: 0 / 0.627 GB, free: 3.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.03752/0.544, allocations: 17.63 MB / 0.6442 GB, free: 1.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.5441, allocations: 73.41 kB / 0.6443 GB, free: 1.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004708/0.5488, allocations: 2.8 MB / 0.647 GB, free: 14.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.549, allocations: 53.7 kB / 0.6471 GB, free: 14.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.5511, allocations: 2.852 MB / 0.6499 GB, free: 11.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009731/0.5521, allocations: 0.9212 MB / 0.6508 GB, free: 10.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002062/0.5542, allocations: 1.087 MB / 0.6518 GB, free: 9.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5543, allocations: 301.1 kB / 0.6521 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.558, allocations: 2.338 MB / 0.6544 GB, free: 7.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005567/0.5636, allocations: 5.307 MB / 0.6596 GB, free: 448 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/0.5729, allocations: 8.38 MB / 0.6678 GB, free: 6.605 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.784e-05/0.573, allocations: 32 kB / 0.6678 GB, free: 6.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01372/0.5868, allocations: 8.398 MB / 0.676 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.5869, allocations: 48 kB / 0.676 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.587, allocations: 104 kB / 0.6761 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.5898, allocations: 0.9478 MB / 0.6771 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.5935, allocations: 1.244 MB / 0.6783 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.5996, allocations: 4.781 MB / 0.6829 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.6029, allocations: 303.8 kB / 0.6832 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006083/0.6036, allocations: 314.4 kB / 0.6835 GB, free: 6.309 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.004243/0.6078, allocations: 2.193 MB / 0.6857 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.6085, allocations: 284.2 kB / 0.6859 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2121/0.8206, allocations: 5.124 MB / 0.6909 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.87e-05/0.8208, allocations: 54.48 kB / 0.691 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.8208, allocations: 2.969 kB / 0.691 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/0.8208, allocations: 10.81 kB / 0.691 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.8415, allocations: 11.97 MB / 0.7027 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.8415, allocations: 13.3 kB / 0.7027 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.8431, allocations: 397.1 kB / 0.7031 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.8453, allocations: 0.7739 MB / 0.7039 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.8455, allocations: 50.83 kB / 0.7039 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/0.8497, allocations: 4.099 MB / 0.7079 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.8497, allocations: 13.75 kB / 0.7079 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04403/0.8938, allocations: 28.23 MB / 0.7355 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.8953, allocations: 0.6781 MB / 0.7362 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.8956, allocations: 46.19 kB / 0.7362 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8968, allocations: 146.6 kB / 0.7363 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.8972, allocations: 165.1 kB / 0.7365 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.8973, allocations: 73.28 kB / 0.7366 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002088/0.8994, allocations: 1.724 MB / 0.7382 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.8994, allocations: 0 / 0.7382 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004039/0.9035, allocations: 1.212 MB / 0.7394 GB, free: 136.6 MB / 0.4948 GB 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.0004258/0.9039, allocations: 186.6 kB / 0.7396 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006418/0.9104, allocations: 5.674 MB / 0.7451 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.9104, allocations: 2.688 kB / 0.7452 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.9128, allocations: 2.154 MB / 0.7473 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.9153, allocations: 377.7 kB / 0.7476 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.9297, allocations: 14.37 MB / 0.7616 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.9326, allocations: 3.509 MB / 0.7651 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003861/0.9365, allocations: 2.01 MB / 0.767 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.9372, allocations: 223.4 kB / 0.7672 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.9372, allocations: 2.078 kB / 0.7672 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.05569/0.9929, allocations: 38.09 MB / 0.8044 GB, free: 75.08 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches