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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 218 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 256.7 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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 0.001853/0.001853, allocations: 63.89 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.316, allocations: 53.32 MB / 430.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003635/0.3196, allocations: 2.14 MB / 432.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3207, allocations: 0.5765 MB / 432.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3208, allocations: 7.938 kB / 432.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.321, allocations: 31.72 kB / 432.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3211, allocations: 59.48 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.3214, allocations: 51.94 kB / 433 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3217, allocations: 203.1 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3218, allocations: 49.64 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.322, allocations: 79.72 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3221, allocations: 87.61 kB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.3222, allocations: 20 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.3222, allocations: 16 kB / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.3222, allocations: 35.86 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3223, allocations: 87.59 kB / 433.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.3227, allocations: 216.4 kB / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3227, allocations: 0 / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3227, allocations: 0 / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3227, allocations: 0 / 433.8 MB, free: 3.965 MB / 334.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.0007838/0.3235, allocations: 474.7 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3235, allocations: 8.031 kB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.3236, allocations: 20.84 kB / 434.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3239, allocations: 236 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3239, allocations: 16.16 kB / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.324, allocations: 16.31 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.3243, allocations: 161.9 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3243, allocations: 0 / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3244, allocations: 7.984 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.3244, allocations: 4 kB / 434.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3246, allocations: 107.7 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3256, allocations: 0.5889 MB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3259, allocations: 110.6 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.326, allocations: 36.84 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.326, allocations: 3.984 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3261, allocations: 34.56 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3261, allocations: 0 / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001759/0.3278, allocations: 0.7939 MB / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3279, allocations: 55.41 kB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3281, allocations: 170.2 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3281, allocations: 33.64 kB / 436.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3282, allocations: 140.3 kB / 436.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.3283, allocations: 63.44 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.3283, allocations: 37.7 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3285, allocations: 326.8 kB / 437.2 MB, free: 260 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3286, allocations: 47.97 kB / 437.3 MB, free: 212 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3288, allocations: 78.97 kB / 437.3 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.329, allocations: 130.3 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.329, allocations: 0 / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004092/0.3294, allocations: 210.2 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3295, allocations: 4 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3295, allocations: 0 / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.3297, allocations: 40.83 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3298, allocations: 31.98 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.3313, allocations: 1.532 MB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.3313, allocations: 7.938 kB / 439.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3314, allocations: 8 kB / 439.3 MB, free: 14 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 0.0001302/0.3315, allocations: 133.8 kB / 439.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.3315, allocations: 23.83 kB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.3316, allocations: 17.19 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3316, allocations: 4 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3316, allocations: 0 / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3316, allocations: 3.938 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.3324, allocations: 0.5904 MB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3324, allocations: 7.922 kB / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.3326, allocations: 23.98 kB / 440.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.3327, allocations: 28.84 kB / 440.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3327, allocations: 8 kB / 440.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.334, allocations: 1.481 MB / 441.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.334, allocations: 0 / 441.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.3345, allocations: 344.1 kB / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3345, allocations: 89.05 kB / 442 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3346, allocations: 4 kB / 442 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3347, allocations: 11.98 kB / 442.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.3347, allocations: 7.984 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3347, allocations: 4 kB / 442.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.3348, allocations: 123.3 kB / 442.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3348, allocations: 0 / 442.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3351, allocations: 44 kB / 442.2 MB, free: 10.81 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 0.0001425/0.3353, allocations: 107.1 kB / 442.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.3358, allocations: 238.7 kB / 442.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3358, allocations: 4 kB / 442.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.3361, allocations: 193.4 kB / 442.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3364, allocations: 27.83 kB / 442.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.3374, allocations: 0.5199 MB / 443.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3378, allocations: 0.7281 MB / 444 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.3378, allocations: 23.44 kB / 444.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3378, allocations: 0 / 444.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Templates: time 0.005294/0.3431, allocations: 2.899 MB / 447 MB, free: 5.992 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches