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.00146/0.00146, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001516/0.001516, allocations: 153.3 kB / 24.25 MB, free: 188 kB / 18.57 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.442/1.442, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.913e-06/1.913e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.887e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.005422/0.00546, allocations: 2.026 MB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.006998, allocations: 0.522 MB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.00718, allocations: 7.938 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.007418, allocations: 31.66 kB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.007674, allocations: 63.42 kB / 269.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.007956, allocations: 47.94 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.00837, allocations: 215 kB / 270.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.008583, allocations: 41.78 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.008825, allocations: 115.8 kB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.009009, allocations: 63.73 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.009065, allocations: 20 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.622e-05/0.009111, allocations: 16 kB / 270.5 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.009178, allocations: 39.83 kB / 270.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.009299, allocations: 55.92 kB / 270.6 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.009752, allocations: 215.3 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.009762, allocations: 8 kB / 270.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.009764, allocations: 0 / 270.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.009771, allocations: 0 / 270.8 MB, free: 3.246 MB / 250.7 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.001067/0.01084, allocations: 397.5 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.01088, allocations: 8.922 kB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.011, allocations: 40.73 kB / 271.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.01145, allocations: 169.5 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.01148, allocations: 12.38 kB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.01154, allocations: 16.38 kB / 271.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.01205, allocations: 165.7 kB / 271.6 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.01207, allocations: 192 / 271.6 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.0121, allocations: 4.375 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.01212, allocations: 7.938 kB / 271.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.01252, allocations: 103.9 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.0139, allocations: 494.8 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.01431, allocations: 106.6 kB / 272.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01447, allocations: 40.84 kB / 272.3 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.0145, allocations: 4 kB / 272.3 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.01456, allocations: 34.55 kB / 272.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01456, allocations: 0 / 272.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.002585/0.01714, allocations: 0.6545 MB / 273 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.01721, allocations: 51.41 kB / 273 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.01743, allocations: 141.8 kB / 273.2 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.01747, allocations: 29.7 kB / 273.2 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.01763, allocations: 136.4 kB / 273.3 MB, free: 480 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.01774, allocations: 63.42 kB / 273.4 MB, free: 416 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01786, allocations: 41.7 kB / 273.4 MB, free: 368 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.01815, allocations: 322.8 kB / 273.8 MB, free: 36 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.01839, allocations: 44.05 kB / 273.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.01865, allocations: 86.34 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.01916, allocations: 126.9 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01916, allocations: 0 / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008343/0.01999, allocations: 210.2 kB / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.02001, allocations: 4 kB / 274.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.02002, allocations: 4.062 kB / 274.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.02037, allocations: 48.81 kB / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.02068, allocations: 31.97 kB / 274.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.02331, allocations: 1.413 MB / 275.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.02346, allocations: 0 / 275.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.02349, allocations: 16.06 kB / 275.7 MB, free: 13.92 MB / 266.7 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.0002319/0.02372, allocations: 133.7 kB / 275.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.02381, allocations: 19.91 kB / 275.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.02389, allocations: 21.11 kB / 275.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0239, allocations: 0 / 275.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.02391, allocations: 4 kB / 275.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02391, allocations: 0 / 275.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.02552, allocations: 0.4978 MB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.02553, allocations: 0 / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.02584, allocations: 28.17 kB / 276.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.02611, allocations: 40.77 kB / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.02614, allocations: 8 kB / 276.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.02852, allocations: 1.354 MB / 277.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.02853, allocations: 0 / 277.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.02957, allocations: 342.5 kB / 278.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.02961, allocations: 7.984 kB / 278.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.02964, allocations: 4 kB / 278.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.02984, allocations: 7.938 kB / 278.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.02992, allocations: 19.91 kB / 278.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.02994, allocations: 4 kB / 278.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.03009, allocations: 106.5 kB / 278.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.03009, allocations: 4 kB / 278.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006009/0.03069, allocations: 40 kB / 278.4 MB, free: 11.12 MB / 266.7 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.0002021/0.0309, allocations: 103.2 kB / 278.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.03182, allocations: 250.3 kB / 278.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.03182, allocations: 4 kB / 278.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.03236, allocations: 190.6 kB / 278.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.03298, allocations: 16 kB / 278.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.03458, allocations: 448.9 kB / 279.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.03479, allocations: 116.2 kB / 279.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.0349, allocations: 13.48 kB / 279.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.03497, allocations: 20.5 kB / 279.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03497, allocations: 0 / 279.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of Templates: time 0.009811/0.04478, allocations: 1.831 MB / 281.3 MB, free: 8.086 MB / 266.7 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.365267145098187]