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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001046/0.001046, allocations: 189.3 kB / 18.9 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.18 MB / 336.9 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.03 kB / 408.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0397/0.1609, allocations: 37.94 MB / 0.4954 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.1831, allocations: 8.152 MB / 0.5034 GB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008297/0.1915, allocations: 151.7 kB / 0.5035 GB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2605/0.4521, allocations: 1.724 MB / 0.5052 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.4573, allocations: 1.716 MB / 0.5069 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4587, allocations: 0.5236 MB / 0.5074 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005918/0.4646, allocations: 3.878 MB / 0.5112 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.4692, allocations: 2.819 MB / 0.5139 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.4725, allocations: 1.383 MB / 0.5153 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.476, allocations: 2.135 MB / 0.5174 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.4772, allocations: 290.5 kB / 0.5177 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.4796, allocations: 1.03 MB / 0.5187 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002083/0.4817, allocations: 1.783 MB / 0.5204 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002766/0.4845, allocations: 2.142 MB / 0.5225 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.4902, allocations: 5.464 MB / 0.5278 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4902, allocations: 0 / 0.5278 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4903, allocations: 0 / 0.5278 GB, free: 6.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001824/0.4904, allocations: 0 / 0.5278 GB, free: 6.246 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.00953/0.5, allocations: 4.553 MB / 0.5323 GB, free: 3.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.5001, allocations: 7.812 kB / 0.5323 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009913/0.51, allocations: 3.119 MB / 0.5353 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.5147, allocations: 2.126 MB / 0.5374 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5149, allocations: 216.7 kB / 0.5376 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.5161, allocations: 291 kB / 0.5379 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.5366, allocations: 11.11 MB / 0.5487 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.5367, allocations: 32.17 kB / 0.5488 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006843/0.5374, allocations: 136.7 kB / 0.5489 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004655/0.5421, allocations: 2.617 MB / 0.5515 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.5643, allocations: 10.37 MB / 0.5616 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/0.6238, allocations: 36.7 MB / 0.5974 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009198/0.6331, allocations: 4.57 MB / 0.6019 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/0.6366, allocations: 2.404 MB / 0.6042 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.638, allocations: 1.316 MB / 0.6055 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.638, allocations: 51.09 kB / 0.6056 GB, free: 10.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.652e-06/0.6381, allocations: 0 / 0.6056 GB, free: 10.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04587/0.6839, allocations: 17.59 MB / 0.6228 GB, free: 9.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.684, allocations: 77.41 kB / 0.6228 GB, free: 9.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/0.6886, allocations: 2.738 MB / 0.6255 GB, free: 6.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004774/0.6891, allocations: 57.7 kB / 0.6256 GB, free: 6.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.6912, allocations: 2.774 MB / 0.6283 GB, free: 3.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.6925, allocations: 0.9168 MB / 0.6292 GB, free: 2.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.6947, allocations: 1.074 MB / 0.6302 GB, free: 1.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6949, allocations: 305.1 kB / 0.6305 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/0.6985, allocations: 2.315 MB / 0.6328 GB, free: 15.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/0.7044, allocations: 5.218 MB / 0.6379 GB, free: 8.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.7147, allocations: 8.274 MB / 0.6459 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.7149, allocations: 28 kB / 0.646 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01667/0.7316, allocations: 8.296 MB / 0.6541 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.7317, allocations: 48 kB / 0.6541 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/0.7319, allocations: 104 kB / 0.6542 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.7349, allocations: 0.9416 MB / 0.6551 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/0.7394, allocations: 1.22 MB / 0.6563 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.7468, allocations: 5.147 MB / 0.6613 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/0.7509, allocations: 303.7 kB / 0.6616 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/0.7521, allocations: 306.6 kB / 0.6619 GB, free: 14.77 MB / 0.5137 GB 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.00589/0.758, allocations: 2.15 MB / 0.664 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.7591, allocations: 284.4 kB / 0.6643 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.7704, allocations: 5.124 MB / 0.6693 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-05/0.7706, allocations: 47.98 kB / 0.6694 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.7706, allocations: 4 kB / 0.6694 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/0.7707, allocations: 7.969 kB / 0.6694 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/0.7957, allocations: 11.91 MB / 0.681 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/0.7958, allocations: 12 kB / 0.681 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.7977, allocations: 395.4 kB / 0.6814 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.8003, allocations: 0.7775 MB / 0.6821 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004386/0.8007, allocations: 51.28 kB / 0.6822 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/0.8068, allocations: 4.379 MB / 0.6865 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.8069, allocations: 15.94 kB / 0.6865 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.8196, allocations: 7.624 MB / 0.6939 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.8205, allocations: 325.5 kB / 0.6942 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008852/0.8214, allocations: 52 kB / 0.6943 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.8233, allocations: 146.4 kB / 0.6944 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005717/0.8239, allocations: 156.9 kB / 0.6946 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/0.8242, allocations: 68 kB / 0.6946 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003413/0.8276, allocations: 1.689 MB / 0.6963 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8276, allocations: 0 / 0.6963 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005972/0.8336, allocations: 0.9904 MB / 0.6973 GB, free: 10.07 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.001028/0.8347, allocations: 185.4 kB / 0.6974 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01667/0.8514, allocations: 9.111 MB / 0.7063 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.8515, allocations: 0 / 0.7063 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2175/1.069, allocations: 2.146 MB / 0.7084 GB, free: 206.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.072, allocations: 407.1 kB / 0.7088 GB, free: 206.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.094, allocations: 12.89 MB / 0.7214 GB, free: 200 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005244/1.099, allocations: 3.381 MB / 0.7247 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.1, allocations: 258.4 kB / 0.725 GB, free: 198.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/1.1, allocations: 1.344 kB / 0.725 GB, free: 198.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09907/1.199, allocations: 75.37 MB / 0.7986 GB, free: 135.8 MB / 0.545 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches