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.001702/0.001702, allocations: 106.2 kB / 16.41 MB, free: 6.508 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.001765/0.001765, allocations: 194.2 kB / 17.34 MB, free: 5.738 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2146/0.2146, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001487/0.001487, allocations: 73.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01403/0.156, allocations: 13.92 MB / 0.5015 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009626/0.1657, allocations: 4.21 MB / 0.5056 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.1682, allocations: 71.88 kB / 0.5057 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.1715, allocations: 1.825 MB / 0.5075 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.1756, allocations: 1.872 MB / 0.5093 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1769, allocations: 0.5498 MB / 0.5098 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.1812, allocations: 3.968 MB / 0.5137 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.1838, allocations: 2.732 MB / 0.5164 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.1853, allocations: 1.409 MB / 0.5177 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.1875, allocations: 1.982 MB / 0.5197 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004801/0.188, allocations: 296 kB / 0.52 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.1898, allocations: 0.9908 MB / 0.5209 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.1915, allocations: 1.808 MB / 0.5227 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.1935, allocations: 2.166 MB / 0.5248 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3633/0.5568, allocations: 7.102 MB / 0.5317 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5569, allocations: 0 / 0.5317 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5569, allocations: 0 / 0.5317 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.5572, allocations: 3.562 kB / 0.5317 GB, free: 13.37 MB / 414.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.01078/0.568, allocations: 4.763 MB / 0.5364 GB, free: 11.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/0.5681, allocations: 9.969 kB / 0.5364 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.5812, allocations: 3.135 MB / 0.5395 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/0.5881, allocations: 2.224 MB / 0.5416 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.5884, allocations: 226.5 kB / 0.5419 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.59, allocations: 294.9 kB / 0.5421 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02246/0.6124, allocations: 11.32 MB / 0.5532 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.6126, allocations: 31.08 kB / 0.5532 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.6131, allocations: 141.3 kB / 0.5534 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004621/0.6177, allocations: 2.716 MB / 0.556 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.6373, allocations: 10.48 MB / 0.5662 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06141/0.6988, allocations: 37.35 MB / 0.6027 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009766/0.7086, allocations: 4.578 MB / 0.6072 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.7124, allocations: 2.404 MB / 0.6095 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.7139, allocations: 1.315 MB / 0.6108 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.714, allocations: 60.5 kB / 0.6109 GB, free: 6.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 7.484e-06/0.714, allocations: 0 / 0.6109 GB, free: 6.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04319/0.7572, allocations: 17.69 MB / 0.6281 GB, free: 5.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.7573, allocations: 73.41 kB / 0.6282 GB, free: 4.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.7621, allocations: 2.809 MB / 0.631 GB, free: 2.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.7623, allocations: 57.7 kB / 0.631 GB, free: 2.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.7645, allocations: 2.974 MB / 0.6339 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.7656, allocations: 0.962 MB / 0.6349 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/0.7673, allocations: 1.091 MB / 0.6359 GB, free: 13.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7674, allocations: 301.1 kB / 0.6362 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.7708, allocations: 2.33 MB / 0.6385 GB, free: 10.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005879/0.7767, allocations: 5.318 MB / 0.6437 GB, free: 3.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.7873, allocations: 8.391 MB / 0.6519 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-05/0.7875, allocations: 28.88 kB / 0.6519 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01457/0.802, allocations: 8.406 MB / 0.6601 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.8022, allocations: 48 kB / 0.6602 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/0.8024, allocations: 104 kB / 0.6603 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.8052, allocations: 0.9491 MB / 0.6612 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/0.8091, allocations: 1.248 MB / 0.6624 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.8161, allocations: 5.139 MB / 0.6674 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/0.8196, allocations: 300.8 kB / 0.6677 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007227/0.8204, allocations: 312 kB / 0.668 GB, free: 10.18 MB / 0.5137 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.003718/0.8241, allocations: 2.194 MB / 0.6701 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/0.8248, allocations: 297.9 kB / 0.6704 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009212/0.834, allocations: 5.133 MB / 0.6754 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.462e-05/0.8341, allocations: 51.98 kB / 0.6755 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.8341, allocations: 0 / 0.6755 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.8341, allocations: 7.969 kB / 0.6755 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/0.8589, allocations: 11.96 MB / 0.6872 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.8589, allocations: 15.69 kB / 0.6872 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.8607, allocations: 395.4 kB / 0.6876 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/0.8635, allocations: 0.7726 MB / 0.6883 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/0.8638, allocations: 51.98 kB / 0.6884 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/0.8702, allocations: 4.379 MB / 0.6926 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-05/0.8703, allocations: 27.92 kB / 0.6927 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.8826, allocations: 7.638 MB / 0.7001 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/0.8846, allocations: 0.7021 MB / 0.7008 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/0.8854, allocations: 51.98 kB / 0.7009 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.8872, allocations: 146.1 kB / 0.701 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/0.8876, allocations: 152.9 kB / 0.7012 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/0.8878, allocations: 71.98 kB / 0.7012 GB, free: 7.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003575/0.8914, allocations: 1.725 MB / 0.7029 GB, free: 5.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8914, allocations: 0 / 0.7029 GB, free: 5.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005339/0.8968, allocations: 1.007 MB / 0.7039 GB, free: 4.945 MB / 0.545 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.0006069/0.8974, allocations: 189.1 kB / 0.7041 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009446/0.9069, allocations: 5.721 MB / 0.7097 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.9069, allocations: 0 / 0.7097 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003088/0.91, allocations: 2.153 MB / 0.7118 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.9131, allocations: 397.1 kB / 0.7121 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/0.934, allocations: 10.44 MB / 0.7223 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006216/0.9402, allocations: 3.437 MB / 0.7257 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005127/0.9454, allocations: 2.002 MB / 0.7276 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.9466, allocations: 223.4 kB / 0.7279 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.276e-06/0.9466, allocations: 0 / 0.7279 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.4128/1.359, allocations: 31.69 MB / 0.7588 GB, free: 209.4 MB / 0.5919 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches