Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008204/0.0008204, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008555/0.0008555, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8363/0.8363, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.307e-05, allocations: 6.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002201/0.002224, allocations: 2.005 MB / 301.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.002983, allocations: 0.5541 MB / 302.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.0031, allocations: 8 kB / 302.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.003233, allocations: 35.66 kB / 302.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.003316, allocations: 55.48 kB / 302.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.003484, allocations: 55.86 kB / 302.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.003657, allocations: 215 kB / 302.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.00379, allocations: 37.8 kB / 302.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003897, allocations: 115.8 kB / 302.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.003994, allocations: 63.8 kB / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.004029, allocations: 20 kB / 302.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.00405, allocations: 16 kB / 302.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.004078, allocations: 35.84 kB / 302.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.004128, allocations: 63.83 kB / 303 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.00432, allocations: 219.3 kB / 303.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004322, allocations: 0 / 303.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004322, allocations: 0 / 303.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004327, allocations: 0 / 303.2 MB, free: 3.426 MB / 282.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.0004646/0.004791, allocations: 409.4 kB / 303.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004824, allocations: 15.98 kB / 303.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.004864, allocations: 28.73 kB / 303.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.005069, allocations: 157.6 kB / 303.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.005081, allocations: 12.38 kB / 303.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.005115, allocations: 24.33 kB / 303.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.005343, allocations: 149.8 kB / 303.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.005358, allocations: 192 / 303.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.005373, allocations: 12.36 kB / 304 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.00538, allocations: 7.938 kB / 304 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.005524, allocations: 103.9 kB / 304.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.006076, allocations: 491 kB / 304.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.006238, allocations: 114.6 kB / 304.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.006291, allocations: 36.84 kB / 304.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.006306, allocations: 0 / 304.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.006329, allocations: 38.56 kB / 304.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.32e-07/0.00633, allocations: 4 kB / 304.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001001/0.00733, allocations: 0.6478 MB / 305.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.007363, allocations: 55.34 kB / 305.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.007442, allocations: 133.8 kB / 305.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007455, allocations: 33.7 kB / 305.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.007517, allocations: 136.4 kB / 305.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.007552, allocations: 67.44 kB / 305.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.007595, allocations: 37.7 kB / 305.8 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.007683, allocations: 322.8 kB / 306.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.007748, allocations: 39.98 kB / 306.2 MB, free: 180 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.007831, allocations: 79.34 kB / 306.3 MB, free: 88 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.007997, allocations: 131.1 kB / 306.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007998, allocations: 0 / 306.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000236/0.008234, allocations: 210.2 kB / 306.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008247, allocations: 4 kB / 306.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.008254, allocations: 7.938 kB / 306.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.008378, allocations: 36.77 kB / 306.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.008475, allocations: 35.98 kB / 306.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008649/0.00934, allocations: 1.402 MB / 308.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.009381, allocations: 4 kB / 308.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.009391, allocations: 12 kB / 308.1 MB, free: 14.12 MB / 298.7 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.002e-05/0.009481, allocations: 137.7 kB / 308.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.009501, allocations: 11.91 kB / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.009525, allocations: 17.12 kB / 308.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009527, allocations: 7.938 kB / 308.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009531, allocations: 4.062 kB / 308.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009534, allocations: 0 / 308.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.01001, allocations: 0.4978 MB / 308.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01001, allocations: 0 / 308.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.01009, allocations: 27.98 kB / 308.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.007e-05/0.01016, allocations: 40.77 kB / 308.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.01017, allocations: 0 / 308.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006615/0.01083, allocations: 1.347 MB / 310.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01083, allocations: 0 / 310.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.01113, allocations: 342.7 kB / 310.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-06/0.01114, allocations: 11.94 kB / 310.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.01115, allocations: 8 kB / 310.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.0112, allocations: 11.92 kB / 310.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01123, allocations: 16.11 kB / 310.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.01124, allocations: 4 kB / 310.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.01129, allocations: 107.2 kB / 310.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 310.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01147, allocations: 48 kB / 310.7 MB, free: 11.32 MB / 298.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.979e-05/0.01155, allocations: 95.19 kB / 310.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.01187, allocations: 254.5 kB / 311.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01187, allocations: 0 / 311.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01201, allocations: 182.6 kB / 311.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01223, allocations: 29.17 kB / 311.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.01279, allocations: 459.8 kB / 311.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.01287, allocations: 124.2 kB / 311.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.0129, allocations: 16.5 kB / 311.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0129, allocations: 0 / 311.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003067/0.01597, allocations: 2.918 MB / 314.8 MB, free: 7.176 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.448456718586385]