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.0009608/0.0009608, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009914/0.0009914, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9867/0.9867, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.552e-05, allocations: 2.312 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002523/0.002548, allocations: 2.131 MB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000981/0.003529, allocations: 0.557 MB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.00369, allocations: 4 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.003851, allocations: 35.59 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.003967, allocations: 59.55 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.004139, allocations: 51.92 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.004334, allocations: 218.9 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.004455, allocations: 45.67 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.004572, allocations: 119.8 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.004668, allocations: 59.8 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.004695, allocations: 16 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.004717, allocations: 16 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.004747, allocations: 39.91 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.004794, allocations: 63.83 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.004968, allocations: 135.5 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00497, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00497, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004974, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.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.0004347/0.005409, allocations: 0.4919 MB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.005443, allocations: 12.02 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.005487, allocations: 36.84 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.005679, allocations: 176.3 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.005694, allocations: 8.375 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.005728, allocations: 16.38 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005923, allocations: 118.9 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005934, allocations: 192 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.00595, allocations: 8.375 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.005958, allocations: 7.938 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.006028, allocations: 51.52 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.006596, allocations: 0.495 MB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.00673, allocations: 90.92 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.006772, allocations: 23.67 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.006794, allocations: 7.984 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.006818, allocations: 37.39 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.00682, allocations: 0 / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.000732/0.007552, allocations: 0.5327 MB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.007576, allocations: 51.41 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.007675, allocations: 208.8 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.007687, allocations: 25.7 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.007765, allocations: 183.1 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.007799, allocations: 67.41 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.007849, allocations: 47.36 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.007961, allocations: 0.4962 MB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.007988, allocations: 19.98 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.008045, allocations: 81.34 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.008182, allocations: 110 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008184, allocations: 4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002956/0.008479, allocations: 171.7 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008496, allocations: 12.12 kB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.008502, allocations: 0 / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.00866, allocations: 35.67 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.008803, allocations: 35.91 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008835/0.009687, allocations: 1.819 MB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.009735, allocations: 12.03 kB / 282.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.009743, allocations: 7.984 kB / 282.4 MB, free: 7.828 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.017e-05/0.009823, allocations: 164.5 kB / 282.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.00985, allocations: 23.91 kB / 282.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.009871, allocations: 17.12 kB / 282.6 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.009875, allocations: 7.938 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.009878, allocations: 0 / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.009881, allocations: 0 / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.0103, allocations: 494.8 kB / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0103, allocations: 0 / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.01038, allocations: 31.92 kB / 283.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.01045, allocations: 27.67 kB / 283.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.01046, allocations: 4 kB / 283.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007008/0.01116, allocations: 1.788 MB / 284.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01116, allocations: 0 / 284.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.01139, allocations: 322.5 kB / 285.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.0114, allocations: 11.91 kB / 285.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.01141, allocations: 0 / 285.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.01146, allocations: 8 kB / 285.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.0115, allocations: 11.97 kB / 285.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.0115, allocations: 4 kB / 285.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.01155, allocations: 143.2 kB / 285.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01155, allocations: 4 kB / 285.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01175, allocations: 44 kB / 285.5 MB, free: 4.551 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.0001063/0.01186, allocations: 107.3 kB / 285.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.01216, allocations: 273.3 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01217, allocations: 0 / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.01233, allocations: 240.6 kB / 286.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01262, allocations: 20 kB / 286.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.01343, allocations: 438.5 kB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.01348, allocations: 75.98 kB / 286.6 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.01354, allocations: 13.48 kB / 286.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.01363, allocations: 94.19 kB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01363, allocations: 4 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of Templates: time 0.004497/0.01813, allocations: 2.005 MB / 288.7 MB, free: 1.234 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.488969799131155]