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.001711/0.001711, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.00216/0.00216, allocations: 215.3 kB / 23 MB, free: 5.605 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.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.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 0.001835/0.001835, allocations: 67.89 kB / 376.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.249, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003715/0.2527, allocations: 2.156 MB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2537, allocations: 0.5882 MB / 432.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2538, allocations: 4 kB / 432.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.254, allocations: 31.66 kB / 432.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2541, allocations: 47.58 kB / 432.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.2543, allocations: 55.86 kB / 432.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2545, allocations: 207.1 kB / 432.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2547, allocations: 45.67 kB / 432.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.2548, allocations: 79.7 kB / 433 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2549, allocations: 83.62 kB / 433.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.255, allocations: 16 kB / 433.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.255, allocations: 16 kB / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.255, allocations: 43.84 kB / 433.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.2551, allocations: 83.61 kB / 433.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.2554, allocations: 220.3 kB / 433.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2554, allocations: 0 / 433.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2554, allocations: 0 / 433.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2554, allocations: 4 kB / 433.4 MB, free: 3.898 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.0007084/0.2561, allocations: 482.6 kB / 433.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2562, allocations: 15.97 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.2562, allocations: 16.84 kB / 433.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.2565, allocations: 220.1 kB / 434.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2565, allocations: 16.16 kB / 434.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.2566, allocations: 20.38 kB / 434.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.2569, allocations: 153.9 kB / 434.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2569, allocations: 4 kB / 434.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2569, allocations: 4 kB / 434.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2569, allocations: 4 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.2572, allocations: 107.7 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.2581, allocations: 0.5889 MB / 435.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2583, allocations: 110.6 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.2584, allocations: 40.84 kB / 435.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2584, allocations: 0 / 435.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2585, allocations: 30.56 kB / 435.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.2585, allocations: 4 kB / 435.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001562/0.26, allocations: 0.7979 MB / 436 MB, free: 1.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2601, allocations: 63.41 kB / 436.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2602, allocations: 158.2 kB / 436.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2603, allocations: 29.7 kB / 436.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.2603, allocations: 136.4 kB / 436.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.2604, allocations: 63.42 kB / 436.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.2605, allocations: 33.72 kB / 436.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2606, allocations: 330.8 kB / 436.8 MB, free: 208 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.2607, allocations: 43.98 kB / 436.9 MB, free: 164 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2609, allocations: 78.78 kB / 436.9 MB, free: 76 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2611, allocations: 138 kB / 437.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2611, allocations: 0 / 437.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004018/0.2615, allocations: 206.2 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2615, allocations: 10.66 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2615, allocations: 0 / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2617, allocations: 44.83 kB / 437.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2619, allocations: 35.92 kB / 437.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.2633, allocations: 1.532 MB / 438.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.2634, allocations: 11.95 kB / 438.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2634, allocations: 16 kB / 438.9 MB, free: 13.92 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.0001186/0.2635, allocations: 129.8 kB / 439.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.2635, allocations: 11.91 kB / 439.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.2636, allocations: 21.19 kB / 439.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2636, allocations: 7.984 kB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2636, allocations: 0 / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2636, allocations: 3.938 kB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.2645, allocations: 0.5879 MB / 439.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2645, allocations: 0 / 439.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2646, allocations: 27.98 kB / 439.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.2647, allocations: 40.77 kB / 439.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2647, allocations: 0 / 439.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.266, allocations: 1.481 MB / 441.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.266, allocations: 3.938 kB / 441.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.2665, allocations: 332.2 kB / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.2666, allocations: 93.03 kB / 441.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2666, allocations: 8 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2667, allocations: 4 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.2667, allocations: 15.98 kB / 441.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2667, allocations: 8 kB / 441.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.807e-05/0.2668, allocations: 119.2 kB / 441.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2668, allocations: 0 / 441.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000294/0.2671, allocations: 44 kB / 441.9 MB, free: 10.75 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.0001242/0.2672, allocations: 107.2 kB / 442 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.2678, allocations: 241.4 kB / 442.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2678, allocations: 0 / 442.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.2681, allocations: 186.6 kB / 442.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2684, allocations: 27.89 kB / 442.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.2693, allocations: 0.5025 MB / 442.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.2696, allocations: 0.732 MB / 443.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.2697, allocations: 13.55 kB / 443.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.2698, allocations: 19.44 kB / 443.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2698, allocations: 0 / 443.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Templates: time 0.005489/0.2752, allocations: 1.941 MB / 445.6 MB, free: 6.91 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/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.4350512363016605]