Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9585/0.9585, allocations: 177.1 MB / 205 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.888e-05, allocations: 5.266 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01379/0.01381, allocations: 13.02 MB / 391.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.02, allocations: 4.096 MB / 395.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008238/0.02082, allocations: 79.69 kB / 395.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.02291, allocations: 1.946 MB / 397.2 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.02518, allocations: 1.933 MB / 399.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.02595, allocations: 0.6002 MB / 399.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.02872, allocations: 4.27 MB / 404 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.03056, allocations: 2.614 MB / 406.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.03198, allocations: 2.12 MB / 408.7 MB, free: 3.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.03357, allocations: 2.159 MB / 410.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.03384, allocations: 292 kB / 411.2 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.0348, allocations: 0.9633 MB / 412.1 MB, free: 424 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009759/0.03577, allocations: 1.866 MB / 414 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008202/0.03659, allocations: 1.152 MB / 415.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.04007, allocations: 4.44 MB / 419.6 MB, free: 8.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.04007, allocations: 0 / 419.6 MB, free: 8.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04007, allocations: 0 / 419.6 MB, free: 8.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.741e-05/0.04014, allocations: 0 / 419.6 MB, free: 8.93 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.004769/0.04491, allocations: 5.016 MB / 424.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.04495, allocations: 8.031 kB / 424.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006191/0.05114, allocations: 3.699 MB / 428.3 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.05417, allocations: 1.93 MB / 430.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.0543, allocations: 221.8 kB / 430.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.0548, allocations: 284.2 kB / 430.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.06811, allocations: 5.688 MB / 436.4 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.06826, allocations: 27.75 kB / 436.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/0.06885, allocations: 135.8 kB / 436.6 MB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002749/0.0716, allocations: 2.624 MB / 439.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009689/0.08129, allocations: 3.5 MB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1975/0.2788, allocations: 35.62 MB / 478.3 MB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/0.284, allocations: 1.814 MB / 480.1 MB, free: 64.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2853, allocations: 0.7074 MB / 480.8 MB, free: 64.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.2859, allocations: 420.1 kB / 481.3 MB, free: 64.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2859, allocations: 53.8 kB / 481.3 MB, free: 64.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.961e-06/0.2859, allocations: 0 / 481.3 MB, free: 64.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.02312/0.309, allocations: 10.18 MB / 491.5 MB, free: 61.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3091, allocations: 73.31 kB / 491.6 MB, free: 61.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.3128, allocations: 2.518 MB / 494.1 MB, free: 60.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003987/0.3132, allocations: 55.61 kB / 494.1 MB, free: 60.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.3148, allocations: 3.012 MB / 497.1 MB, free: 58.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.316, allocations: 0.9942 MB / 498.1 MB, free: 57.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.3174, allocations: 1.142 MB / 499.3 MB, free: 57.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.3174, allocations: 484.7 kB / 499.8 MB, free: 56.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.3189, allocations: 0.7014 MB / 0.4887 GB, free: 56.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.3222, allocations: 4.994 MB / 0.4936 GB, free: 50.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/0.3269, allocations: 6.327 MB / 0.4998 GB, free: 44.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.141e-05/0.3269, allocations: 30.59 kB / 0.4998 GB, free: 44.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007063/0.334, allocations: 5.143 MB / 0.5048 GB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.3341, allocations: 51.84 kB / 0.5049 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3342, allocations: 101.4 kB / 0.505 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.3357, allocations: 0.6499 MB / 0.5056 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.3379, allocations: 1.223 MB / 0.5068 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.3406, allocations: 3.122 MB / 0.5099 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.343, allocations: 335.1 kB / 0.5102 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/0.3433, allocations: 307.8 kB / 0.5105 GB, free: 39.09 MB / 410.7 MB 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.001305/0.3446, allocations: 0.5677 MB / 0.511 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.345, allocations: 341.4 kB / 0.5114 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.3486, allocations: 2.631 MB / 0.5139 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.3486, allocations: 49.94 kB / 0.514 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3487, allocations: 4 kB / 0.514 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.3487, allocations: 9.703 kB / 0.514 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009448/0.3581, allocations: 6.938 MB / 0.5208 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.3581, allocations: 15.98 kB / 0.5208 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.359, allocations: 398.8 kB / 0.5212 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.3601, allocations: 0.5117 MB / 0.5217 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.3602, allocations: 51.84 kB / 0.5217 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.3622, allocations: 2.567 MB / 0.5242 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.3622, allocations: 15.94 kB / 0.5242 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.3662, allocations: 3.289 MB / 0.5274 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.3667, allocations: 261.7 kB / 0.5277 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.3669, allocations: 44 kB / 0.5277 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.3677, allocations: 181.8 kB / 0.5279 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3679, allocations: 159.6 kB / 0.5281 GB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/0.368, allocations: 82.69 kB / 0.5281 GB, free: 23.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.3692, allocations: 1.073 MB / 0.5292 GB, free: 22.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3692, allocations: 0 / 0.5292 GB, free: 22.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003462/0.3726, allocations: 1.027 MB / 0.5302 GB, free: 21.35 MB / 410.7 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 (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.0004433/0.3731, allocations: 205 kB / 0.5304 GB, free: 21.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004302/0.3774, allocations: 3.014 MB / 0.5333 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3774, allocations: 448 / 0.5333 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.3786, allocations: 1.031 MB / 0.5343 GB, free: 17.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.38, allocations: 311.7 kB / 0.5346 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.3906, allocations: 8.26 MB / 0.5427 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3916, allocations: 1.26 MB / 0.5439 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002152/0.3938, allocations: 1.622 MB / 0.5455 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/0.3943, allocations: 208.5 kB / 0.5457 GB, free: 5.664 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3943, allocations: 0 / 0.5457 GB, free: 5.664 MB / 410.7 MB Notification: Performance of Templates: time 0.04257/0.4369, allocations: 27.81 MB / 0.5729 GB, free: 10.28 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.313956305850297]