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.001318/0.001318, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001339/0.001339, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.39/1.39, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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.001598/0.001598, allocations: 47.45 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08861, allocations: 52.17 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003719/0.09233, allocations: 2.022 MB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.09328, allocations: 0.5143 MB / 374.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.09338, allocations: 7.938 kB / 374.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.09352, allocations: 31.66 kB / 374.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.09362, allocations: 47.58 kB / 374.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.0938, allocations: 59.86 kB / 374.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.09407, allocations: 207.1 kB / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.09422, allocations: 41.78 kB / 374.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.09434, allocations: 91.64 kB / 374.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.09448, allocations: 67.62 kB / 374.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.09451, allocations: 16 kB / 374.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.09455, allocations: 16 kB / 374.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.09459, allocations: 35.91 kB / 374.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.0947, allocations: 79.66 kB / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.09499, allocations: 211.1 kB / 375 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09499, allocations: 0 / 375 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09499, allocations: 4 kB / 375 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.095, allocations: 0 / 375 MB, free: 3.902 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.0006828/0.09568, allocations: 413.4 kB / 375.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.09572, allocations: 12.86 kB / 375.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.09578, allocations: 24.8 kB / 375.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.09605, allocations: 158.2 kB / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.09607, allocations: 8.375 kB / 375.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.0961, allocations: 24.38 kB / 375.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.09642, allocations: 153.9 kB / 375.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.09644, allocations: 0 / 375.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.09646, allocations: 8 kB / 375.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.09646, allocations: 4 kB / 375.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.09671, allocations: 107.7 kB / 375.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.09754, allocations: 487.1 kB / 376.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.09778, allocations: 114.6 kB / 376.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.09788, allocations: 44.84 kB / 376.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.0979, allocations: 0 / 376.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.09793, allocations: 30.56 kB / 376.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.09793, allocations: 0 / 376.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001516/0.09945, allocations: 0.6555 MB / 377.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.09949, allocations: 55.41 kB / 377.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.09962, allocations: 141.4 kB / 377.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.09964, allocations: 29.64 kB / 377.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.09973, allocations: 136.4 kB / 377.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.09979, allocations: 63.44 kB / 377.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.09986, allocations: 37.7 kB / 377.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1, allocations: 326.8 kB / 378 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1001, allocations: 43.92 kB / 378 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1003, allocations: 75.41 kB / 378.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1005, allocations: 142.5 kB / 378.2 MB, free: 436 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1005, allocations: 0 / 378.2 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003953/0.1009, allocations: 194.3 kB / 378.4 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1009, allocations: 7.938 kB / 378.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1009, allocations: 0 / 378.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.1011, allocations: 44.89 kB / 378.5 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1013, allocations: 31.92 kB / 378.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1027, allocations: 1.402 MB / 379.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.1028, allocations: 8.031 kB / 379.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1028, allocations: 11.92 kB / 379.9 MB, free: 14.61 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.0001411/0.1029, allocations: 137.8 kB / 380.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.103, allocations: 19.91 kB / 380.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.103, allocations: 21.16 kB / 380.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.103, allocations: 0 / 380.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.103, allocations: 0 / 380.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.103, allocations: 4 kB / 380.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.1039, allocations: 0.5085 MB / 380.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1039, allocations: 0 / 380.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.104, allocations: 35.92 kB / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1042, allocations: 24.84 kB / 380.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1042, allocations: 11.98 kB / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.1054, allocations: 1.339 MB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1055, allocations: 3.938 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.106, allocations: 332.2 kB / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.106, allocations: 15.92 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.106, allocations: 3.938 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1061, allocations: 11.98 kB / 382.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.1062, allocations: 7.984 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1062, allocations: 12 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.1063, allocations: 103.2 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1063, allocations: 0 / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1066, allocations: 44 kB / 382.5 MB, free: 11.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.000122/0.1067, allocations: 107.4 kB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005647/0.1073, allocations: 242.5 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1073, allocations: 0 / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.1076, allocations: 190.5 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.108, allocations: 26.48 kB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.1089, allocations: 0.496 MB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.1091, allocations: 120.2 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.1092, allocations: 9.5 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.1092, allocations: 20.48 kB / 383.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1092, allocations: 0 / 383.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Templates: time 0.007206/0.1164, allocations: 1.804 MB / 385.5 MB, free: 8.75 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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.315469354973175]