Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009431/0.0009431, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 160.2 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9265/0.9265, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.273e-05, allocations: 6.25 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003662/0.003684, allocations: 2.135 MB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.004599, allocations: 0.5763 MB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.004745, allocations: 4 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.004901, allocations: 35.66 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.005004, allocations: 51.5 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.005179, allocations: 55.86 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.00538, allocations: 218.9 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.005506, allocations: 54.38 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.005636, allocations: 115.8 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.00574, allocations: 63.8 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.00577, allocations: 16 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.005789, allocations: 16 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.005819, allocations: 31.91 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.005871, allocations: 71.83 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.006036, allocations: 131.4 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006038, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006038, allocations: 4 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.006043, allocations: 0 / 276.9 MB, free: 13.66 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.000425/0.006468, allocations: 376.1 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.006503, allocations: 15.98 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.006547, allocations: 28.92 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006718, allocations: 149.5 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.006737, allocations: 20.36 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006768, allocations: 20.33 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006929, allocations: 118.9 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.00694, allocations: 192 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.006951, allocations: 4.375 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006959, allocations: 7.938 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.007023, allocations: 51.47 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.007488, allocations: 394.8 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.007589, allocations: 70.47 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.007615, allocations: 24.8 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.007627, allocations: 7.938 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.007645, allocations: 30.56 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.91e-07/0.007646, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007249/0.008371, allocations: 0.5254 MB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.008393, allocations: 51.41 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.008467, allocations: 154.6 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.008477, allocations: 25.7 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.008527, allocations: 128.4 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.008559, allocations: 71.41 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.008598, allocations: 37.7 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.00867, allocations: 326.8 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.008693, allocations: 19.98 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.008736, allocations: 57.12 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.008817, allocations: 103.9 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008818, allocations: 0 / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001439/0.008962, allocations: 142.2 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.008972, allocations: 4 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008978, allocations: 4 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.009082, allocations: 36.77 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.009165, allocations: 31.98 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.00981, allocations: 1.253 MB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.009853, allocations: 4 kB / 281.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.009862, allocations: 8 kB / 281.2 MB, free: 9.074 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 7.222e-05/0.009935, allocations: 125.8 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.009958, allocations: 15.98 kB / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.00998, allocations: 25.11 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.009982, allocations: 4.031 kB / 281.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.009986, allocations: 7.938 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009989, allocations: 0 / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.01033, allocations: 370.4 kB / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01034, allocations: 0 / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.01041, allocations: 23.98 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-05/0.01048, allocations: 32.84 kB / 281.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.01048, allocations: 7.938 kB / 281.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004962/0.01098, allocations: 1.217 MB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01098, allocations: 3.938 kB / 283 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.01115, allocations: 231.4 kB / 283.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.01116, allocations: 19.83 kB / 283.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.01117, allocations: 11.98 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.01121, allocations: 4.062 kB / 283.3 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.01124, allocations: 11.98 kB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01124, allocations: 7.984 kB / 283.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.25e-05/0.01127, allocations: 32.2 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01127, allocations: 3.938 kB / 283.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.01144, allocations: 44 kB / 283.4 MB, free: 6.742 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 7.313e-05/0.01151, allocations: 76.42 kB / 283.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.01173, allocations: 223.2 kB / 283.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01173, allocations: 0 / 283.6 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01184, allocations: 175.3 kB / 283.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.012, allocations: 31.86 kB / 283.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.01263, allocations: 416.9 kB / 284.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.01267, allocations: 83.86 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.422e-05/0.01272, allocations: 21.56 kB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.01278, allocations: 71.36 kB / 284.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01278, allocations: 0 / 284.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of Templates: time 0.003462/0.01624, allocations: 1.971 MB / 286.4 MB, free: 3.641 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5887120412662625]