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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008707, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 177.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3524/0.3524, allocations: 43.57 MB / 314.6 MB, free: 8.684 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 14.97 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 58.87 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2305/0.3466, allocations: 34.63 MB / 477.5 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.3666, allocations: 7.817 MB / 485.3 MB, free: 25.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006673/0.3733, allocations: 153 kB / 485.4 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.3774, allocations: 1.68 MB / 487.1 MB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.3898, allocations: 5.046 MB / 492.2 MB, free: 22.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.392, allocations: 471.5 kB / 492.6 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005361/0.3974, allocations: 4.294 MB / 496.9 MB, free: 20.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006493/0.4039, allocations: 3.058 MB / 500 MB, free: 19.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.4073, allocations: 1.16 MB / 0.4894 GB, free: 19.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/0.4118, allocations: 1.876 MB / 0.4912 GB, free: 18.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.4131, allocations: 150.3 kB / 0.4914 GB, free: 18.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.4164, allocations: 0.7694 MB / 0.4921 GB, free: 18.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003627/0.42, allocations: 1.615 MB / 0.4937 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.4223, allocations: 0.8385 MB / 0.4945 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008815/0.4312, allocations: 5.377 MB / 0.4998 GB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.4312, allocations: 1.156 kB / 0.4998 GB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.4312, allocations: 0 / 0.4998 GB, free: 15.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003664/0.4316, allocations: 0 / 0.4998 GB, free: 15.16 MB / 382.1 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.01184/0.4435, allocations: 3.848 MB / 0.5035 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4435, allocations: 9.656 kB / 0.5035 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.455, allocations: 3.207 MB / 0.5067 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.4613, allocations: 2.163 MB / 0.5088 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.4616, allocations: 220.8 kB / 0.509 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.4628, allocations: 297.9 kB / 0.5093 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.4804, allocations: 11.31 MB / 0.5203 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.911e-05/0.4806, allocations: 35.64 kB / 0.5203 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/0.4809, allocations: 139.8 kB / 0.5205 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00446/0.4854, allocations: 2.71 MB / 0.5231 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.5052, allocations: 10.43 MB / 0.5333 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/0.5656, allocations: 37.51 MB / 0.5699 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00971/0.5754, allocations: 4.559 MB / 0.5744 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003841/0.5793, allocations: 2.4 MB / 0.5767 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.5806, allocations: 1.319 MB / 0.578 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.5807, allocations: 48.56 kB / 0.5781 GB, free: 3.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.521e-06/0.5807, allocations: 0 / 0.5781 GB, free: 3.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04344/0.6241, allocations: 17.57 MB / 0.5952 GB, free: 1.992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6242, allocations: 77.34 kB / 0.5953 GB, free: 1.906 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/0.6289, allocations: 2.776 MB / 0.598 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000605/0.6296, allocations: 61.69 kB / 0.5981 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.632, allocations: 2.853 MB / 0.6009 GB, free: 12.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.6335, allocations: 0.9134 MB / 0.6018 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.6338, allocations: 104 kB / 0.6019 GB, free: 11.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004114/0.6342, allocations: 0.5532 MB / 0.6024 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.638, allocations: 2.31 MB / 0.6047 GB, free: 8.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.644, allocations: 5.284 MB / 0.6098 GB, free: 1.516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005776/0.6498, allocations: 3.493 MB / 0.6132 GB, free: 14.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-05/0.6499, allocations: 28 kB / 0.6132 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01713/0.6671, allocations: 8.348 MB / 0.6214 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.6672, allocations: 48 kB / 0.6214 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.6673, allocations: 106.9 kB / 0.6215 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.67, allocations: 0.9493 MB / 0.6225 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/0.6748, allocations: 1.248 MB / 0.6237 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.9627, allocations: 4.804 MB / 0.6284 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004108/0.9668, allocations: 304 kB / 0.6287 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009965/0.9678, allocations: 316.8 kB / 0.629 GB, free: 112.1 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005624/0.9735, allocations: 2.194 MB / 0.6311 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/0.9742, allocations: 284 kB / 0.6314 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008951/0.9831, allocations: 5.115 MB / 0.6364 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.915e-05/0.9833, allocations: 47.33 kB / 0.6364 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.9833, allocations: 3.406 kB / 0.6364 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/0.9833, allocations: 11.48 kB / 0.6364 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.009, allocations: 11.95 MB / 0.6481 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/1.009, allocations: 11.88 kB / 0.6481 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.011, allocations: 396.8 kB / 0.6485 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/1.013, allocations: 0.7754 MB / 0.6493 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004913/1.014, allocations: 53.45 kB / 0.6493 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005605/1.019, allocations: 4.083 MB / 0.6533 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/1.019, allocations: 13.34 kB / 0.6533 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.034, allocations: 7.603 MB / 0.6607 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.036, allocations: 0.6873 MB / 0.6614 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.037, allocations: 51.42 kB / 0.6615 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.04, allocations: 142.8 kB / 0.6616 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008101/1.041, allocations: 155.6 kB / 0.6617 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000437/1.041, allocations: 75.88 kB / 0.6618 GB, free: 108.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005803/1.047, allocations: 1.695 MB / 0.6635 GB, free: 108.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.047, allocations: 0 / 0.6635 GB, free: 108.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007396/1.054, allocations: 1.002 MB / 0.6644 GB, free: 108.2 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/1.055, allocations: 187.3 kB / 0.6646 GB, free: 108.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00963/1.065, allocations: 5.634 MB / 0.6701 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.065, allocations: 0 / 0.6701 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003015/1.068, allocations: 2.138 MB / 0.6722 GB, free: 105.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.071, allocations: 378.2 kB / 0.6726 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.089, allocations: 12.3 MB / 0.6846 GB, free: 96.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/1.092, allocations: 3.438 MB / 0.6879 GB, free: 93.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004072/1.096, allocations: 2.001 MB / 0.6899 GB, free: 92.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/1.097, allocations: 223.4 kB / 0.6901 GB, free: 92.12 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/1.097, allocations: 0 / 0.6901 GB, free: 92.12 MB / 494.1 MB Notification: Performance of Templates: time 0.05543/1.152, allocations: 31.49 MB / 0.7209 GB, free: 60.8 MB / 494.1 MB 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/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