Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.001016/0.001016, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001105/0.001105, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.9668/0.9668, allocations: 158.6 MB / 186 MB, free: 2.73 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.1388/0.1388, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 299.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.673e-05, allocations: 2.312 kB / 299.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.1827/0.1827, allocations: 16.12 MB / 315.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.1974, allocations: 5.233 MB / 320.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.2019, allocations: 127.7 kB / 320.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007629/0.2096, allocations: 5.354 MB / 326 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007737/0.2173, allocations: 2.904 MB / 328.9 MB, free: 368 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.2201, allocations: 1.177 MB / 330.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.2304, allocations: 7.529 MB / 337.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00776/0.2381, allocations: 5.26 MB / 342.9 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009661/0.2478, allocations: 4.51 MB / 347.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006055/0.2538, allocations: 3.558 MB / 350.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.256, allocations: 0.5508 MB / 351.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.2596, allocations: 1.44 MB / 352.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.2636, allocations: 3.475 MB / 356.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004585/0.2682, allocations: 2.15 MB / 358.5 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.2839, allocations: 7.309 MB / 365.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2839, allocations: 0 / 365.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2839, allocations: 0 / 365.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005046/0.2844, allocations: 0 / 365.9 MB, free: 11.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02489/0.3093, allocations: 7.411 MB / 373.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.3094, allocations: 8.031 kB / 373.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007992/0.3174, allocations: 1.663 MB / 374.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.3282, allocations: 3.222 MB / 378.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/0.3287, allocations: 382.2 kB / 378.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002651/0.3314, allocations: 0.5 MB / 379 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.3528, allocations: 7.737 MB / 386.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.3531, allocations: 72.73 kB / 386.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005216/0.3536, allocations: 239.8 kB / 387.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/0.3564, allocations: 2.669 MB / 389.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.3671, allocations: 3.896 MB / 393.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.4161, allocations: 47.76 MB / 441.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/0.4221, allocations: 2.565 MB / 444 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.423, allocations: 0.5774 MB / 444.5 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008563/0.4316, allocations: 5.019 MB / 449.6 MB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4317, allocations: 56.16 kB / 449.6 MB, free: 4.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 5.65e-06/0.4317, allocations: 0 / 449.6 MB, free: 4.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.02298/0.4546, allocations: 8.468 MB / 458.1 MB, free: 11.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4547, allocations: 231.2 kB / 458.3 MB, free: 11.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/0.4612, allocations: 4.986 MB / 463.3 MB, free: 6.504 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006177/0.4618, allocations: 57.7 kB / 463.4 MB, free: 6.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.4644, allocations: 4.8 MB / 468.2 MB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001652/0.4661, allocations: 0.9111 MB / 469.1 MB, free: 0.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1729/0.639, allocations: 1.745 MB / 470.8 MB, free: 134.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.639, allocations: 309.5 kB / 471.1 MB, free: 134.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.6415, allocations: 1.143 MB / 472.3 MB, free: 134 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004331/0.6458, allocations: 6.661 MB / 478.9 MB, free: 126.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008342/0.6542, allocations: 8.562 MB / 487.5 MB, free: 118.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003465/0.6545, allocations: 57.44 kB / 487.5 MB, free: 118.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01374/0.6683, allocations: 6.437 MB / 494 MB, free: 117.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.6684, allocations: 91.5 kB / 494.1 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/0.6686, allocations: 200.8 kB / 494.3 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.6702, allocations: 0.6176 MB / 494.9 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/0.6751, allocations: 2.122 MB / 497 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.6789, allocations: 4.238 MB / 0.4895 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/0.6851, allocations: 405.6 kB / 0.4899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/0.6868, allocations: 481.8 kB / 0.4903 GB, free: 114.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 914 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1134 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003762/0.6906, allocations: 0.8768 MB / 0.4912 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.6917, allocations: 324.4 kB / 0.4915 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.6943, allocations: 1.52 MB / 0.493 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.6944, allocations: 25.75 kB / 0.493 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.6944, allocations: 3.938 kB / 0.493 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.6944, allocations: 16.64 kB / 0.493 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.7049, allocations: 6.289 MB / 0.4992 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.7049, allocations: 12.19 kB / 0.4992 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.7057, allocations: 325.5 kB / 0.4995 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.7071, allocations: 0.6205 MB / 0.5001 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.7073, allocations: 46.98 kB / 0.5001 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.7102, allocations: 3.835 MB / 0.5039 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7102, allocations: 11.94 kB / 0.5039 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.7136, allocations: 2.654 MB / 0.5065 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.7152, allocations: 0.6353 MB / 0.5071 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/0.7157, allocations: 47.36 kB / 0.5072 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.7167, allocations: 47.98 kB / 0.5072 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.717, allocations: 156.8 kB / 0.5074 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.7171, allocations: 48 kB / 0.5074 GB, free: 101.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002215/0.7193, allocations: 1.867 MB / 0.5092 GB, free: 99.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7193, allocations: 4 kB / 0.5092 GB, free: 99.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007131/0.7264, allocations: 1.632 MB / 0.5108 GB, free: 97.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (184): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000465/0.7269, allocations: 184.3 kB / 0.511 GB, free: 97.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006152/0.733, allocations: 3.833 MB / 0.5147 GB, free: 93.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003013/0.7333, allocations: 128.2 kB / 0.5149 GB, free: 93.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.7345, allocations: 0.8793 MB / 0.5157 GB, free: 92.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.7386, allocations: 0.931 MB / 0.5166 GB, free: 91.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/0.7573, allocations: 11.69 MB / 0.528 GB, free: 80.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.7597, allocations: 1.951 MB / 0.5299 GB, free: 78.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002519/0.7622, allocations: 0.7401 MB / 0.5307 GB, free: 77.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.7634, allocations: 0.7706 MB / 0.5314 GB, free: 76.66 MB / 426.7 MB Notification: Performance of SimCode: time 4.168e-06/0.7634, allocations: 4 kB / 0.5314 GB, free: 76.66 MB / 426.7 MB Notification: Performance of Templates: time 0.06934/0.8328, allocations: 48.53 MB / 0.5788 GB, free: 28.21 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.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.767836584709585]