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.001734/0.001734, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001556/0.001556, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001592/0.001592, allocations: 51.92 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003534/0.108, allocations: 2.145 MB / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1091, allocations: 0.5649 MB / 429.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1092, allocations: 11.94 kB / 429.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1093, allocations: 35.66 kB / 429.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1095, allocations: 51.55 kB / 429.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1096, allocations: 55.88 kB / 429.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1099, allocations: 207 kB / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.11, allocations: 45.66 kB / 429.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.1101, allocations: 79.72 kB / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1103, allocations: 79.62 kB / 430.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.1103, allocations: 20 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.1104, allocations: 16 kB / 430.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.1104, allocations: 43.84 kB / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.1105, allocations: 91.53 kB / 430.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.1108, allocations: 211.1 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1108, allocations: 4 kB / 430.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1108, allocations: 0 / 430.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1108, allocations: 0 / 430.4 MB, free: 0.6367 MB / 350.1 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.0007484/0.1115, allocations: 478.6 kB / 430.9 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1116, allocations: 12.03 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.1116, allocations: 24.77 kB / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1784/0.29, allocations: 217.2 kB / 431.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.29, allocations: 16.91 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.2901, allocations: 18.91 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2904, allocations: 147.7 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2904, allocations: 4.734 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.2905, allocations: 7.938 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2905, allocations: 3.406 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.2907, allocations: 113.8 kB / 431.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.2915, allocations: 0.5934 MB / 432 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.2918, allocations: 108.4 kB / 432.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.2919, allocations: 39.62 kB / 432.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2919, allocations: 1.531 kB / 432.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2919, allocations: 34.5 kB / 432.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.2919, allocations: 0 / 432.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001403/0.2933, allocations: 0.7985 MB / 433 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.2933, allocations: 57.47 kB / 433.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2934, allocations: 157.5 kB / 433.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2934, allocations: 32.97 kB / 433.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.2935, allocations: 132.8 kB / 433.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.2935, allocations: 69.12 kB / 433.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.2936, allocations: 40.91 kB / 433.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.2936, allocations: 323.4 kB / 433.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.2937, allocations: 44.86 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2938, allocations: 76.56 kB / 433.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.294, allocations: 131.5 kB / 434.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.294, allocations: 0 / 434.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003694/0.2944, allocations: 206.3 kB / 434.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2944, allocations: 6.312 kB / 434.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2944, allocations: 7.094 kB / 434.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2946, allocations: 39.2 kB / 434.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2948, allocations: 38.7 kB / 434.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/0.2957, allocations: 1.526 MB / 435.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.2958, allocations: 8.203 kB / 435.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2958, allocations: 8.953 kB / 435.9 MB, free: 8.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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 9.028e-05/0.2959, allocations: 132.7 kB / 436 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.296, allocations: 14.41 kB / 436 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.296, allocations: 20.59 kB / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.296, allocations: 8.844 kB / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.296, allocations: 0 / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.296, allocations: 4.906 kB / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.2967, allocations: 0.586 MB / 436.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2967, allocations: 0 / 436.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2969, allocations: 32.38 kB / 436.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.297, allocations: 32.59 kB / 436.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.297, allocations: 1.125 kB / 436.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008006/0.2978, allocations: 1.481 MB / 438.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2978, allocations: 2.328 kB / 438.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.2983, allocations: 346.4 kB / 438.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.2983, allocations: 89.08 kB / 438.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.2983, allocations: 4.703 kB / 438.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2984, allocations: 7.5 kB / 438.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.2985, allocations: 12.83 kB / 438.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2985, allocations: 8.453 kB / 438.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.2986, allocations: 121.9 kB / 438.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 3.656 kB / 438.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.2989, allocations: 42.22 kB / 438.8 MB, free: 5.73 MB / 350.1 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 9.395e-05/0.299, allocations: 103.5 kB / 438.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.2994, allocations: 255.1 kB / 439.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2994, allocations: 0 / 439.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2997, allocations: 183.1 kB / 439.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3, allocations: 29.12 kB / 439.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.3008, allocations: 0.4989 MB / 439.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.301, allocations: 0.731 MB / 440.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.301, allocations: 16.06 kB / 440.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3011, allocations: 18.14 kB / 440.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3011, allocations: 0 / 440.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of Templates: time 0.005997/0.3071, allocations: 1.896 MB / 442.5 MB, free: 4.141 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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: 4.801296789199114]