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.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.0009025/0.0009025, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008725/0.0008725, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7936/0.7936, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1308/0.1308, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.757e-05, allocations: 2.281 kB / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.008754/0.008781, allocations: 12.15 MB / 420.3 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.01611, allocations: 4.011 MB / 424.3 MB, free: 1.492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.01829, allocations: 83.69 kB / 424.4 MB, free: 1.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.02102, allocations: 1.888 MB / 426.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.02489, allocations: 1.987 MB / 428.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.02614, allocations: 0.5963 MB / 428.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.03054, allocations: 4.318 MB / 433.1 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.03383, allocations: 2.586 MB / 435.7 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.0375, allocations: 2.175 MB / 437.9 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.04035, allocations: 2.182 MB / 440.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007538/0.04111, allocations: 296 kB / 440.4 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.04267, allocations: 0.9712 MB / 441.4 MB, free: 336 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.04411, allocations: 1.928 MB / 443.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.04556, allocations: 1.187 MB / 444.5 MB, free: 13.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006864/0.05242, allocations: 7.074 MB / 451.5 MB, free: 6.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.05243, allocations: 4 kB / 451.5 MB, free: 6.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.05243, allocations: 0 / 451.5 MB, free: 6.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.05263, allocations: 0 / 451.5 MB, free: 6.102 MB / 426.7 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.007392/0.06002, allocations: 4.686 MB / 456.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.06007, allocations: 12.03 kB / 456.2 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.06606, allocations: 3.184 MB / 459.4 MB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.06981, allocations: 2.145 MB / 461.6 MB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.06998, allocations: 225.9 kB / 461.8 MB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.071, allocations: 300.1 kB / 462.1 MB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1924/0.2634, allocations: 11.34 MB / 473.4 MB, free: 93.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.2635, allocations: 22.98 kB / 473.4 MB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007659/0.2643, allocations: 138.8 kB / 473.6 MB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003281/0.2676, allocations: 2.71 MB / 476.3 MB, free: 93.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.2822, allocations: 10.46 MB / 486.7 MB, free: 89.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.3209, allocations: 34.48 MB / 0.509 GB, free: 68.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.3278, allocations: 3.589 MB / 0.5125 GB, free: 67.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/0.3304, allocations: 2.219 MB / 0.5147 GB, free: 66.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.3309, allocations: 444.7 kB / 0.5151 GB, free: 66.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.331, allocations: 60.31 kB / 0.5152 GB, free: 66.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 6.131e-06/0.331, allocations: 1.531 kB / 0.5152 GB, free: 66.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.02494/0.3559, allocations: 18.03 MB / 0.5328 GB, free: 52.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3559, allocations: 73.41 kB / 0.5328 GB, free: 52.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.3586, allocations: 2.868 MB / 0.5356 GB, free: 49.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.359, allocations: 53.7 kB / 0.5357 GB, free: 49.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/0.3598, allocations: 2.956 MB / 0.5386 GB, free: 46.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.3605, allocations: 0.9574 MB / 0.5395 GB, free: 45.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009035/0.3614, allocations: 1.076 MB / 0.5406 GB, free: 44.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.3615, allocations: 305.1 kB / 0.5409 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.3635, allocations: 2.334 MB / 0.5431 GB, free: 41.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/0.3663, allocations: 5.311 MB / 0.5483 GB, free: 34.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005702/0.372, allocations: 8.38 MB / 0.5565 GB, free: 25.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.979e-05/0.3721, allocations: 32 kB / 0.5565 GB, free: 25.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01018/0.3822, allocations: 8.372 MB / 0.5647 GB, free: 16.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.3823, allocations: 48 kB / 0.5648 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.77e-05/0.3824, allocations: 104.1 kB / 0.5649 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.384, allocations: 0.9497 MB / 0.5658 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.3865, allocations: 1.248 MB / 0.567 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004043/0.3906, allocations: 4.971 MB / 0.5719 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.3932, allocations: 339.7 kB / 0.5722 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005165/0.3937, allocations: 319.3 kB / 0.5725 GB, free: 8.605 MB / 442.7 MB 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.002897/0.3966, allocations: 2.183 MB / 0.5746 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.397, allocations: 278.2 kB / 0.5749 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.4018, allocations: 5.122 MB / 0.5799 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/0.4018, allocations: 47.98 kB / 0.5799 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4019, allocations: 4 kB / 0.5799 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4019, allocations: 11.06 kB / 0.58 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.4162, allocations: 10.52 MB / 0.5902 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.4162, allocations: 12.98 kB / 0.5902 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4173, allocations: 395.3 kB / 0.5906 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.4189, allocations: 0.7782 MB / 0.5914 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.4191, allocations: 55.97 kB / 0.5914 GB, free: 5.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.4229, allocations: 4.251 MB / 0.5956 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4229, allocations: 11.94 kB / 0.5956 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008484/0.4314, allocations: 7.601 MB / 0.603 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.4329, allocations: 0.6152 MB / 0.6036 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.4333, allocations: 51.94 kB / 0.6037 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4343, allocations: 179.7 kB / 0.6038 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.4346, allocations: 168.8 kB / 0.604 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.4347, allocations: 75.98 kB / 0.6041 GB, free: 7.848 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002619/0.4373, allocations: 1.641 MB / 0.6057 GB, free: 6.195 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4373, allocations: 0 / 0.6057 GB, free: 6.195 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004758/0.4421, allocations: 1.07 MB / 0.6067 GB, free: 5.125 MB / 474.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.0006583/0.4427, allocations: 214.6 kB / 0.6069 GB, free: 4.902 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.4496, allocations: 5.467 MB / 0.6123 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.4497, allocations: 4 kB / 0.6123 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.4519, allocations: 1.997 MB / 0.6142 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.454, allocations: 299.1 kB / 0.6145 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.4695, allocations: 10.94 MB / 0.6252 GB, free: 2.027 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/0.4732, allocations: 2.905 MB / 0.628 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.4742, allocations: 256.5 kB / 0.6283 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of SimCode: time 2.104e-06/0.4742, allocations: 0 / 0.6283 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.2625/0.7367, allocations: 78.09 MB / 0.7045 GB, free: 143.7 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.759474350139499]