Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001376/0.001376, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001506/0.001506, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.91 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003575/0.2511, allocations: 2.047 MB / 433.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2522, allocations: 0.5415 MB / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2524, allocations: 7.938 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2525, allocations: 31.66 kB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2527, allocations: 51.56 kB / 434.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.2529, allocations: 63.86 kB / 434.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.2532, allocations: 203.1 kB / 434.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2534, allocations: 45.8 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2535, allocations: 83.7 kB / 434.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2536, allocations: 79.62 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.2537, allocations: 16 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.2537, allocations: 16 kB / 434.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.2538, allocations: 35.86 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.2538, allocations: 83.64 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.2541, allocations: 213.4 kB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2541, allocations: 0 / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2541, allocations: 4 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2541, allocations: 3.938 kB / 435.1 MB, free: 3.223 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.0006864/0.2548, allocations: 405.5 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2549, allocations: 8.031 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.2549, allocations: 20.84 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2552, allocations: 162.2 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.2552, allocations: 12.16 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.2552, allocations: 24.38 kB / 435.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2556, allocations: 153.9 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2556, allocations: 0 / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.2556, allocations: 8 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2556, allocations: 4 kB / 435.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.2559, allocations: 103.7 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.2567, allocations: 490.8 kB / 436.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.257, allocations: 114.5 kB / 436.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.2571, allocations: 40.84 kB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2571, allocations: 0 / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2571, allocations: 30.56 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2571, allocations: 3.938 kB / 436.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001572/0.2587, allocations: 0.6547 MB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2587, allocations: 55.41 kB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2589, allocations: 137.8 kB / 437.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2589, allocations: 25.7 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.259, allocations: 132.5 kB / 437.6 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.259, allocations: 71.36 kB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.2591, allocations: 33.72 kB / 437.7 MB, free: 372 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2592, allocations: 326.8 kB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.2594, allocations: 47.98 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2595, allocations: 77.66 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2597, allocations: 131.4 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.2597, allocations: 0 / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003991/0.2601, allocations: 206.2 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2601, allocations: 10.59 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2601, allocations: 0 / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.2603, allocations: 44.89 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2605, allocations: 31.92 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2619, allocations: 1.401 MB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.262, allocations: 8.031 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.262, allocations: 4 kB / 440 MB, free: 13.95 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.0001401/0.2622, allocations: 137.8 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.2622, allocations: 15.95 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.2622, allocations: 21.11 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2622, allocations: 0 / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2622, allocations: 0 / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2622, allocations: 4 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.2631, allocations: 0.5015 MB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2631, allocations: 0 / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2632, allocations: 31.98 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.2634, allocations: 32.77 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2634, allocations: 8 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.2646, allocations: 1.347 MB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2646, allocations: 7.875 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.2652, allocations: 336.2 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2652, allocations: 19.88 kB / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2652, allocations: 0 / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2653, allocations: 8 kB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2654, allocations: 15.91 kB / 442.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2654, allocations: 4 kB / 442.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.2654, allocations: 106 kB / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2654, allocations: 0 / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.2657, allocations: 44 kB / 442.6 MB, free: 11.14 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.0001279/0.2659, allocations: 107.3 kB / 442.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.2664, allocations: 248.6 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2664, allocations: 0 / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.2667, allocations: 186.5 kB / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.267, allocations: 20.12 kB / 443.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.268, allocations: 0.5031 MB / 443.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.2681, allocations: 120.2 kB / 443.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.2682, allocations: 9.422 kB / 443.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.2683, allocations: 15.44 kB / 443.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2683, allocations: 4 kB / 443.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Templates: time 0.00557/0.2738, allocations: 2.067 MB / 445.9 MB, free: 7.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.5474610342644155]