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.01254/0.01254, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.002298/0.002298, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.4/1.4, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.3424/0.3424, allocations: 43.49 MB / 313.5 MB, free: 8.52 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.001369/0.001369, allocations: 68.47 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 57.79 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2957/0.4208, allocations: 38.3 MB / 478.1 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.4419, allocations: 8.285 MB / 486.4 MB, free: 22.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.453, allocations: 160 kB / 486.6 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.4572, allocations: 1.793 MB / 488.4 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.4628, allocations: 1.744 MB / 490.1 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.4647, allocations: 0.5179 MB / 490.6 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0085/0.4732, allocations: 5.542 MB / 496.2 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004853/0.4781, allocations: 2.658 MB / 498.8 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.4819, allocations: 1.222 MB / 0.4883 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.4868, allocations: 2.078 MB / 0.4904 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.4879, allocations: 206.5 kB / 0.4906 GB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.4908, allocations: 0.9723 MB / 0.4915 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00233/0.4932, allocations: 1.738 MB / 0.4932 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.4967, allocations: 2.091 MB / 0.4952 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.5069, allocations: 6.689 MB / 0.5018 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5069, allocations: 1.156 kB / 0.5018 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.507, allocations: 0 / 0.5018 GB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003078/0.5073, allocations: 0 / 0.5018 GB, free: 12.4 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.01561/0.5229, allocations: 4.638 MB / 0.5063 GB, free: 9.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.523, allocations: 8.938 kB / 0.5063 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.5355, allocations: 3.123 MB / 0.5094 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007908/0.5434, allocations: 2.197 MB / 0.5115 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.5439, allocations: 220.1 kB / 0.5117 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/0.5461, allocations: 299.7 kB / 0.512 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.5705, allocations: 11.32 MB / 0.5231 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.5708, allocations: 31.66 kB / 0.5231 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005893/0.5714, allocations: 139.8 kB / 0.5232 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004894/0.5763, allocations: 2.707 MB / 0.5259 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/0.6024, allocations: 10.48 MB / 0.5361 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06661/0.6691, allocations: 37.5 MB / 0.5727 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.6803, allocations: 4.567 MB / 0.5772 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00422/0.6846, allocations: 2.405 MB / 0.5795 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.686, allocations: 1.315 MB / 0.5808 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.686, allocations: 60.5 kB / 0.5809 GB, free: 14.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.573e-06/0.6861, allocations: 0 / 0.5809 GB, free: 14.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04172/0.7278, allocations: 17.63 MB / 0.5981 GB, free: 13.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.7279, allocations: 73.41 kB / 0.5982 GB, free: 13.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.7318, allocations: 2.808 MB / 0.6009 GB, free: 10.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.7321, allocations: 57.64 kB / 0.601 GB, free: 10.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.7339, allocations: 2.853 MB / 0.6037 GB, free: 7.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009957/0.7349, allocations: 0.9172 MB / 0.6046 GB, free: 6.441 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.7364, allocations: 1.088 MB / 0.6057 GB, free: 5.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.7365, allocations: 301.1 kB / 0.606 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/0.7398, allocations: 2.33 MB / 0.6083 GB, free: 2.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/0.7453, allocations: 5.307 MB / 0.6135 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7557, allocations: 8.392 MB / 0.6216 GB, free: 2.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-05/0.7558, allocations: 28 kB / 0.6217 GB, free: 2.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0146/0.7704, allocations: 8.387 MB / 0.6299 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.7706, allocations: 48 kB / 0.6299 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/0.7708, allocations: 104 kB / 0.63 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.7735, allocations: 0.9429 MB / 0.6309 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/0.7779, allocations: 1.252 MB / 0.6322 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006347/0.7842, allocations: 4.789 MB / 0.6368 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.7888, allocations: 311.8 kB / 0.6371 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.7899, allocations: 312 kB / 0.6374 GB, free: 1.801 MB / 0.4981 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.3136/1.103, allocations: 2.183 MB / 0.6396 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/1.104, allocations: 279.3 kB / 0.6398 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008346/1.113, allocations: 5.136 MB / 0.6448 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-05/1.113, allocations: 46.75 kB / 0.6449 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.113, allocations: 5.625 kB / 0.6449 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.113, allocations: 9.938 kB / 0.6449 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.131, allocations: 11.97 MB / 0.6566 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.131, allocations: 12.14 kB / 0.6566 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/1.133, allocations: 400.4 kB / 0.657 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/1.135, allocations: 0.7728 MB / 0.6577 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/1.136, allocations: 51.5 kB / 0.6578 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/1.14, allocations: 4.089 MB / 0.6618 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.14, allocations: 16.53 kB / 0.6618 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.153, allocations: 7.626 MB / 0.6692 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.155, allocations: 0.6785 MB / 0.6699 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.156, allocations: 45 kB / 0.6699 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.158, allocations: 145 kB / 0.6701 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/1.158, allocations: 168.3 kB / 0.6702 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.158, allocations: 71.94 kB / 0.6703 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003382/1.162, allocations: 1.726 MB / 0.672 GB, free: 147.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.162, allocations: 1.094 kB / 0.672 GB, free: 147.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005656/1.167, allocations: 1.004 MB / 0.673 GB, free: 147.5 MB / 0.4981 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.0005804/1.168, allocations: 191.4 kB / 0.6732 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.178, allocations: 5.68 MB / 0.6787 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/1.178, allocations: 9.531 kB / 0.6787 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003029/1.181, allocations: 2.146 MB / 0.6808 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.185, allocations: 369.4 kB / 0.6812 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.207, allocations: 12.66 MB / 0.6935 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004331/1.211, allocations: 3.443 MB / 0.6969 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00431/1.216, allocations: 1.998 MB / 0.6988 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/1.216, allocations: 219 kB / 0.6991 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/1.216, allocations: 0 / 0.6991 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.05871/1.275, allocations: 32.83 MB / 0.7311 GB, free: 102.1 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches