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.0008987/0.0008987, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001019/0.001019, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9293/0.9293, allocations: 177 MB / 205.9 MB, free: 4.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.193e-06/1.193e-06, allocations: 0 / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.624e-05, allocations: 2.312 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002412/0.002438, allocations: 2.149 MB / 276.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.003238, allocations: 0.5586 MB / 276.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.003348, allocations: 7.938 kB / 276.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.003488, allocations: 35.7 kB / 276.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.003579, allocations: 53.31 kB / 276.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.003729, allocations: 51.86 kB / 276.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.003918, allocations: 218.9 kB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.004045, allocations: 49.72 kB / 277.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.004153, allocations: 116.3 kB / 277.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.004258, allocations: 63.8 kB / 277.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.004287, allocations: 16.59 kB / 277.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.004307, allocations: 16.66 kB / 277.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.004342, allocations: 35.89 kB / 277.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.004393, allocations: 63.86 kB / 277.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.004574, allocations: 139.4 kB / 277.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004576, allocations: 0 / 277.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004576, allocations: 0 / 277.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004579, allocations: 0 / 277.6 MB, free: 0.75 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.0004493/0.005029, allocations: 0.492 MB / 278.1 MB, free: 228 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.005059, allocations: 12.03 kB / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.005106, allocations: 32.84 kB / 278.2 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.005284, allocations: 172.3 kB / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.005297, allocations: 12.38 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.005324, allocations: 20.38 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.005484, allocations: 114.9 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.005495, allocations: 192 / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005507, allocations: 8.312 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.005515, allocations: 11.94 kB / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.005582, allocations: 51.5 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.006079, allocations: 0.495 MB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006193, allocations: 83.05 kB / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.006224, allocations: 27.67 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.006236, allocations: 0 / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.00626, allocations: 41.39 kB / 279.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.006261, allocations: 0 / 279.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006951/0.006956, allocations: 0.5262 MB / 279.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.006981, allocations: 55.41 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.00707, allocations: 205.2 kB / 280 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007083, allocations: 29.7 kB / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.007151, allocations: 183.1 kB / 280.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.007186, allocations: 67.42 kB / 280.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.007231, allocations: 43.34 kB / 280.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.007343, allocations: 0.4962 MB / 280.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.007371, allocations: 15.98 kB / 280.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.007436, allocations: 87.23 kB / 280.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.007527, allocations: 116.6 kB / 281 MB, free: 13.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.007528, allocations: 0 / 281 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001849/0.007713, allocations: 176.9 kB / 281.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007725, allocations: 4 kB / 281.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.007731, allocations: 4.125 kB / 281.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.007842, allocations: 39.64 kB / 281.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.007931, allocations: 35.98 kB / 281.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/0.008746, allocations: 1.804 MB / 283.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.008791, allocations: 15.92 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.008799, allocations: 12.03 kB / 283.1 MB, free: 10.87 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.867e-05/0.008878, allocations: 160.6 kB / 283.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.008905, allocations: 19.95 kB / 283.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.00893, allocations: 25.11 kB / 283.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008932, allocations: 3.938 kB / 283.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.008935, allocations: 0 / 283.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008938, allocations: 7.984 kB / 283.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.00933, allocations: 483.2 kB / 283.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009331, allocations: 0 / 283.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.009414, allocations: 27.98 kB / 283.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.241e-05/0.009486, allocations: 39.58 kB / 283.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.009492, allocations: 0 / 283.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009816/0.01047, allocations: 1.768 MB / 285.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01047, allocations: 7.969 kB / 285.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01076, allocations: 317.1 kB / 285.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.01077, allocations: 8.094 kB / 285.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.01078, allocations: 4 kB / 285.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.01083, allocations: 7.984 kB / 286 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.01086, allocations: 19.91 kB / 286 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.01087, allocations: 4 kB / 286 MB, free: 7.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.01091, allocations: 147.1 kB / 286.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01091, allocations: 0 / 286.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.0111, allocations: 48.03 kB / 286.2 MB, free: 7.598 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.53e-05/0.01117, allocations: 99.19 kB / 286.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01145, allocations: 285.2 kB / 286.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01145, allocations: 3.938 kB / 286.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.01157, allocations: 227.7 kB / 286.8 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01179, allocations: 31.98 kB / 286.8 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.01245, allocations: 430.6 kB / 287.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.01264, allocations: 75.98 kB / 287.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.01269, allocations: 13.48 kB / 287.3 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.01276, allocations: 90.19 kB / 287.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01276, allocations: 0 / 287.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of Templates: time 0.003804/0.01656, allocations: 2.053 MB / 289.5 MB, free: 4.254 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.6802325560711324]