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.001896/0.001896, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00225/0.00225, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.453/1.453, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.283e-06/1.283e-06, allocations: 0 / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.069e-05, allocations: 4.031 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003094/0.003115, allocations: 2.035 MB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004156, allocations: 0.5507 MB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004266, allocations: 8.344 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.004424, allocations: 31.55 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.004547, allocations: 61.28 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004734, allocations: 52.81 kB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.005009, allocations: 215.2 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.005166, allocations: 45.88 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.005349, allocations: 115.5 kB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.00549, allocations: 58.66 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.005526, allocations: 17.56 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.005563, allocations: 17.16 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.005613, allocations: 38.27 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.005703, allocations: 58.47 kB / 328.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.006019, allocations: 219.6 kB / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.006024, allocations: 4 kB / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006026, allocations: 0 / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006031, allocations: 0 / 328.5 MB, free: 14.31 MB / 302.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.0006988/0.00673, allocations: 400.4 kB / 328.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.006768, allocations: 14.62 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.006823, allocations: 18.59 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.007121, allocations: 180.2 kB / 329.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.00714, allocations: 11.28 kB / 329.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.007178, allocations: 16.59 kB / 329.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.007542, allocations: 150 kB / 329.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.007559, allocations: 1.562 kB / 329.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.007585, allocations: 5.844 kB / 329.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.007594, allocations: 7.281 kB / 329.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.007868, allocations: 106.1 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.008737, allocations: 492.4 kB / 329.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.008982, allocations: 111.9 kB / 330 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.009076, allocations: 34.72 kB / 330 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.009099, allocations: 2.5 kB / 330 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.009136, allocations: 36.25 kB / 330.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.009137, allocations: 1.188 kB / 330.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001588/0.01073, allocations: 0.6435 MB / 330.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.01078, allocations: 54.36 kB / 330.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.0109, allocations: 145.5 kB / 330.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01093, allocations: 30.86 kB / 330.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.01102, allocations: 132.2 kB / 331.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.01108, allocations: 67.3 kB / 331.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.01114, allocations: 36.7 kB / 331.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.01129, allocations: 322.6 kB / 331.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.0114, allocations: 49.62 kB / 331.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01153, allocations: 77.75 kB / 331.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.01179, allocations: 133.2 kB / 331.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01179, allocations: 0 / 331.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004135/0.0122, allocations: 200.9 kB / 331.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01222, allocations: 9.719 kB / 331.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01222, allocations: 0 / 331.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.0124, allocations: 45.42 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01256, allocations: 32.83 kB / 332 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.01403, allocations: 1.4 MB / 333.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.01412, allocations: 7.281 kB / 333.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01413, allocations: 9.438 kB / 333.4 MB, free: 10.36 MB / 302.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.0001463/0.01428, allocations: 138.5 kB / 333.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.01432, allocations: 14.55 kB / 333.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.01437, allocations: 19.2 kB / 333.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01437, allocations: 2.125 kB / 333.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.01437, allocations: 1.062 kB / 333.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01438, allocations: 1.094 kB / 333.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.01523, allocations: 0.5089 MB / 334.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.01523, allocations: 3.984 kB / 334.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.01538, allocations: 26.33 kB / 334.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.01552, allocations: 40.5 kB / 334.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01554, allocations: 2.188 kB / 334.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.01679, allocations: 1.336 MB / 335.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01679, allocations: 5.781 kB / 335.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.01734, allocations: 337.1 kB / 335.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.01736, allocations: 11.81 kB / 335.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.01739, allocations: 9.438 kB / 335.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01749, allocations: 6.094 kB / 335.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.01755, allocations: 20.28 kB / 335.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01756, allocations: 3.312 kB / 335.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.324e-05/0.01764, allocations: 110.8 kB / 336 MB, free: 8.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01764, allocations: 4.062 kB / 336 MB, free: 8.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.01795, allocations: 41.84 kB / 336.1 MB, free: 8.031 MB / 302.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.0001287/0.01808, allocations: 96.84 kB / 336.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005097/0.01859, allocations: 247.2 kB / 336.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01859, allocations: 4.812 kB / 336.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.01889, allocations: 190.5 kB / 336.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.01925, allocations: 25.66 kB / 336.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008958/0.02014, allocations: 434.8 kB / 337 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.02027, allocations: 122.2 kB / 337.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.02033, allocations: 12.64 kB / 337.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.02037, allocations: 14.88 kB / 337.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02037, allocations: 5.281 kB / 337.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Templates: time 0.005408/0.02578, allocations: 1.812 MB / 339 MB, free: 6.227 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.327236142009497]