Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003545/0.252, allocations: 2.136 MB / 425.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.253, allocations: 0.5493 MB / 425.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.2531, allocations: 7.938 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2532, allocations: 35.66 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2534, allocations: 43.56 kB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2536, allocations: 51.88 kB / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.2538, allocations: 211.1 kB / 426.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.254, allocations: 57.77 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2541, allocations: 83.64 kB / 426.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2542, allocations: 75.7 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.2543, allocations: 23.94 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.2543, allocations: 16 kB / 426.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.2544, allocations: 31.91 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.2545, allocations: 99.52 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.2548, allocations: 204.4 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2548, allocations: 4 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2548, allocations: 0 / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2548, allocations: 3.938 kB / 426.7 MB, free: 11.04 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.0007134/0.2555, allocations: 405.5 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2555, allocations: 8.031 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.2556, allocations: 28.8 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.2559, allocations: 165.7 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2559, allocations: 16.36 kB / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.2559, allocations: 12.38 kB / 427.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.2563, allocations: 157.9 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2563, allocations: 0 / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2563, allocations: 4 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2563, allocations: 7.984 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.2566, allocations: 111.7 kB / 427.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.2575, allocations: 0.5529 MB / 428.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2578, allocations: 117.5 kB / 428.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.2579, allocations: 36.84 kB / 428.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2579, allocations: 4 kB / 428.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2579, allocations: 34.56 kB / 428.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2579, allocations: 3.938 kB / 428.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001547/0.2595, allocations: 0.6497 MB / 429 MB, free: 8.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2595, allocations: 55.41 kB / 429.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.2597, allocations: 162.1 kB / 429.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2597, allocations: 29.7 kB / 429.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2598, allocations: 132.4 kB / 429.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.2599, allocations: 67.41 kB / 429.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.2599, allocations: 33.72 kB / 429.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2601, allocations: 326.8 kB / 429.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2602, allocations: 47.97 kB / 429.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2604, allocations: 75.41 kB / 429.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.2607, allocations: 131.3 kB / 430 MB, free: 7.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2607, allocations: 0 / 430 MB, free: 7.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004316/0.2611, allocations: 213.6 kB / 430.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2611, allocations: 8 kB / 430.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2611, allocations: 0 / 430.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.2613, allocations: 36.83 kB / 430.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2615, allocations: 35.92 kB / 430.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.2629, allocations: 1.428 MB / 431.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.263, allocations: 11.94 kB / 431.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.263, allocations: 8 kB / 431.8 MB, free: 5.598 MB / 334.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.0001406/0.2632, allocations: 134.6 kB / 431.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.2632, allocations: 15.91 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.2633, allocations: 17.12 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2633, allocations: 4 kB / 432 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2633, allocations: 0 / 432 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2633, allocations: 3.938 kB / 432 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009473/0.2642, allocations: 0.5556 MB / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2642, allocations: 0 / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2644, allocations: 35.92 kB / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.2645, allocations: 32.83 kB / 432.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2645, allocations: 0 / 432.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.2659, allocations: 1.382 MB / 434 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2659, allocations: 3.938 kB / 434 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.2664, allocations: 342 kB / 434.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.2665, allocations: 23.8 kB / 434.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2665, allocations: 4 kB / 434.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2666, allocations: 4 kB / 434.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.2667, allocations: 15.97 kB / 434.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2667, allocations: 4.062 kB / 434.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2668, allocations: 120.1 kB / 434.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2668, allocations: 4 kB / 434.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.2671, allocations: 44 kB / 434.5 MB, free: 2.664 MB / 334.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.000125/0.2672, allocations: 99.19 kB / 434.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.2678, allocations: 242.7 kB / 434.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2678, allocations: 0 / 434.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.2681, allocations: 190.5 kB / 435 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2684, allocations: 35.97 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.2694, allocations: 0.496 MB / 435.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2698, allocations: 0.7281 MB / 436.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.2699, allocations: 17.48 kB / 436.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.2699, allocations: 15.44 kB / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2699, allocations: 0 / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Templates: time 0.005783/0.2757, allocations: 1.968 MB / 438.3 MB, free: 14.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.3736991006881]