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.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.001158/0.001158, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004318/0.004318, allocations: 161.3 kB / 24.99 MB, free: 8.793 MB / 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.9626/0.9626, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.26/0.26, allocations: 32.8 MB / 294.6 MB, free: 1.309 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.72e-05, allocations: 6.25 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0123/0.01233, allocations: 12.98 MB / 389 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007243/0.01957, allocations: 4.08 MB / 393.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.0206, allocations: 83.69 kB / 393.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.02311, allocations: 1.942 MB / 395.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.02589, allocations: 1.929 MB / 397 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.0268, allocations: 0.5963 MB / 397.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.03029, allocations: 4.264 MB / 401.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.03258, allocations: 2.618 MB / 404.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.03466, allocations: 2.12 MB / 406.6 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.03687, allocations: 2.163 MB / 408.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.03722, allocations: 296 kB / 409.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.0386, allocations: 0.9594 MB / 410 MB, free: 2.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.03998, allocations: 1.866 MB / 411.9 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.04108, allocations: 1.152 MB / 413 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.04545, allocations: 4.44 MB / 417.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.04546, allocations: 0 / 417.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04546, allocations: 0 / 417.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.485e-05/0.04551, allocations: 0 / 417.5 MB, free: 11.33 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.006301/0.05182, allocations: 5.016 MB / 422.5 MB, free: 6.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.05186, allocations: 8.031 kB / 422.5 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00829/0.06015, allocations: 3.695 MB / 426.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.06447, allocations: 1.934 MB / 428.1 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.06467, allocations: 225.8 kB / 428.4 MB, free: 352 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008758/0.06555, allocations: 280.2 kB / 428.6 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.07917, allocations: 5.688 MB / 434.3 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.07929, allocations: 23.77 kB / 434.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.07962, allocations: 135.8 kB / 434.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002697/0.08232, allocations: 2.624 MB / 437.1 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009339/0.09166, allocations: 3.501 MB / 440.6 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.257/0.3486, allocations: 35.63 MB / 476.2 MB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.353, allocations: 1.813 MB / 478 MB, free: 71.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3542, allocations: 0.7047 MB / 478.7 MB, free: 71.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.3546, allocations: 415.8 kB / 479.2 MB, free: 71.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3547, allocations: 60.77 kB / 479.2 MB, free: 71.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.08e-06/0.3547, allocations: 0 / 479.2 MB, free: 71.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.02062/0.3753, allocations: 10.18 MB / 489.4 MB, free: 69.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.3753, allocations: 73.72 kB / 489.5 MB, free: 69.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.3782, allocations: 2.534 MB / 492 MB, free: 67.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.3783, allocations: 56.61 kB / 492 MB, free: 67.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.3795, allocations: 3.003 MB / 495.1 MB, free: 65.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.3802, allocations: 0.9955 MB / 496 MB, free: 65.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.3813, allocations: 1.143 MB / 497.2 MB, free: 64.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3813, allocations: 480.7 kB / 497.7 MB, free: 63.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3826, allocations: 0.6999 MB / 498.4 MB, free: 63.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.3853, allocations: 4.994 MB / 0.4916 GB, free: 58.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.39, allocations: 6.331 MB / 0.4977 GB, free: 51.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.3901, allocations: 27.72 kB / 0.4978 GB, free: 51.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.00797/0.3981, allocations: 5.149 MB / 0.5028 GB, free: 49.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.3981, allocations: 49.69 kB / 0.5028 GB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.962e-05/0.3982, allocations: 102.9 kB / 0.5029 GB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.3996, allocations: 0.6547 MB / 0.5036 GB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.4018, allocations: 1.221 MB / 0.5048 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.4049, allocations: 3.113 MB / 0.5078 GB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/0.408, allocations: 331.4 kB / 0.5081 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.4084, allocations: 304.9 kB / 0.5084 GB, free: 46.06 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.001439/0.4098, allocations: 0.5841 MB / 0.509 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.4102, allocations: 334.9 kB / 0.5093 GB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.4139, allocations: 2.628 MB / 0.5119 GB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.4139, allocations: 54.48 kB / 0.5119 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4139, allocations: 4 kB / 0.5119 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.414, allocations: 14.22 kB / 0.5119 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009276/0.4232, allocations: 6.944 MB / 0.5187 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4233, allocations: 8 kB / 0.5187 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/0.4242, allocations: 399.8 kB / 0.5191 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.4253, allocations: 0.5175 MB / 0.5196 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.4254, allocations: 47.94 kB / 0.5197 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4274, allocations: 2.563 MB / 0.5222 GB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.4274, allocations: 17.95 kB / 0.5222 GB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/0.4315, allocations: 3.296 MB / 0.5254 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.4322, allocations: 256.2 kB / 0.5256 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.4324, allocations: 40 kB / 0.5257 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.4332, allocations: 179.3 kB / 0.5259 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.4334, allocations: 167.7 kB / 0.526 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.4335, allocations: 71.84 kB / 0.5261 GB, free: 30.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.4348, allocations: 1.07 MB / 0.5271 GB, free: 29.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4348, allocations: 0 / 0.5271 GB, free: 29.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003931/0.4387, allocations: 1.036 MB / 0.5281 GB, free: 28.29 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.0004585/0.4391, allocations: 208.6 kB / 0.5283 GB, free: 28.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004661/0.4438, allocations: 3.006 MB / 0.5313 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.4438, allocations: 4 kB / 0.5313 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4451, allocations: 1.012 MB / 0.5323 GB, free: 24.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4467, allocations: 315.2 kB / 0.5326 GB, free: 23.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4579, allocations: 8.272 MB / 0.5406 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/0.4589, allocations: 1.268 MB / 0.5419 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002189/0.4611, allocations: 1.614 MB / 0.5435 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.4617, allocations: 212.5 kB / 0.5437 GB, free: 12.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.414e-06/0.4617, allocations: 3.938 kB / 0.5437 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04048/0.5022, allocations: 27.77 MB / 0.5708 GB, free: 0.8242 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.336728744907305]