Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001053/0.001053, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001166/0.001166, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9894/0.9894, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.387e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003479/0.003503, allocations: 2.137 MB / 276.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004553, allocations: 0.562 MB / 276.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.004707, allocations: 7.938 kB / 276.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.004881, allocations: 37.59 kB / 276.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.005012, allocations: 55.48 kB / 277 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.005209, allocations: 47.94 kB / 277 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005467, allocations: 211.5 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.005629, allocations: 50.38 kB / 277.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.005785, allocations: 123.6 kB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.005917, allocations: 59.86 kB / 277.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.005951, allocations: 16 kB / 277.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.00598, allocations: 16 kB / 277.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.006022, allocations: 43.83 kB / 277.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.00609, allocations: 59.84 kB / 277.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.006317, allocations: 139.5 kB / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.006319, allocations: 0 / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00632, allocations: 0 / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006324, allocations: 0 / 277.7 MB, free: 0.875 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005917/0.006916, allocations: 0.492 MB / 278.2 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006951, allocations: 8.031 kB / 278.2 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.007014, allocations: 32.78 kB / 278.3 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.007296, allocations: 180.3 kB / 278.4 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.007319, allocations: 8.375 kB / 278.4 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.007358, allocations: 16.38 kB / 278.5 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.007579, allocations: 115 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007591, allocations: 192 / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.007604, allocations: 12.38 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007613, allocations: 7.938 kB / 278.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.007685, allocations: 55.5 kB / 278.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.008238, allocations: 498.8 kB / 279.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.00836, allocations: 86.98 kB / 279.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.008391, allocations: 27.66 kB / 279.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.008406, allocations: 4 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.008428, allocations: 45.39 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.008429, allocations: 0 / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007539/0.009183, allocations: 0.52 MB / 279.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.009206, allocations: 51.41 kB / 279.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.009298, allocations: 207.8 kB / 280.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.009309, allocations: 25.7 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.00941, allocations: 187.1 kB / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.009442, allocations: 63.42 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.009491, allocations: 55.34 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.009595, allocations: 0.4923 MB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.009623, allocations: 19.98 kB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.009678, allocations: 84.86 kB / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.009835, allocations: 106 kB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009837, allocations: 4 kB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001903/0.01003, allocations: 175.9 kB / 281.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01004, allocations: 8 kB / 281.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01005, allocations: 0 / 281.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.01019, allocations: 39.66 kB / 281.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.01029, allocations: 31.92 kB / 281.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009794/0.01127, allocations: 1.827 MB / 283.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.01131, allocations: 8 kB / 283.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01132, allocations: 4 kB / 283.2 MB, free: 11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.01141, allocations: 164.5 kB / 283.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01144, allocations: 19.91 kB / 283.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.01147, allocations: 21.12 kB / 283.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01147, allocations: 11.92 kB / 283.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.01147, allocations: 4.031 kB / 283.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01148, allocations: 4.031 kB / 283.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.01187, allocations: 468.6 kB / 283.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01187, allocations: 0 / 283.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.01196, allocations: 35.92 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.284e-05/0.01204, allocations: 27.84 kB / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01205, allocations: 16 kB / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/0.01276, allocations: 1.772 MB / 285.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01276, allocations: 0 / 285.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.01298, allocations: 317.6 kB / 286 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.01299, allocations: 7.953 kB / 286 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.013, allocations: 4 kB / 286 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.01305, allocations: 8.062 kB / 286 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.01308, allocations: 11.97 kB / 286 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01309, allocations: 8 kB / 286.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.64e-05/0.01314, allocations: 146.3 kB / 286.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01314, allocations: 0 / 286.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.01333, allocations: 48 kB / 286.2 MB, free: 7.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.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 (15): * Single equations (assignments): 14 * Array equations: 0 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.01343, allocations: 111.2 kB / 286.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.014, allocations: 281.5 kB / 286.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01401, allocations: 0 / 286.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01414, allocations: 237.4 kB / 286.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01439, allocations: 27.91 kB / 286.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.01509, allocations: 434.6 kB / 287.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.01514, allocations: 79.98 kB / 287.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.01518, allocations: 13.48 kB / 287.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.01526, allocations: 98.19 kB / 287.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01526, allocations: 0 / 287.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of Templates: time 0.004074/0.01933, allocations: 2.036 MB / 289.5 MB, free: 4.363 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.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: 2.7518805800937116]