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.0009258/0.0009258, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001281/0.001281, allocations: 147.1 kB / 24.89 MB, free: 8.727 MB / 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 0.8937/0.8937, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 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 1.152e-06/1.152e-06, allocations: 0 / 268.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.472e-05, allocations: 6.25 kB / 268.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002269/0.002284, allocations: 2.135 MB / 270.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.003017, allocations: 0.5452 MB / 271.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003118, allocations: 7.938 kB / 271.1 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003241, allocations: 35.66 kB / 271.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.003328, allocations: 51.5 kB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.003487, allocations: 51.88 kB / 271.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.003691, allocations: 215 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.003824, allocations: 50.42 kB / 271.5 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.003985, allocations: 119.7 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004107, allocations: 59.81 kB / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.004143, allocations: 16 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.046e-05/0.004173, allocations: 16 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.004214, allocations: 39.83 kB / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.004283, allocations: 67.89 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.004504, allocations: 131.5 kB / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004506, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004507, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.00451, allocations: 0 / 272 MB, free: 2.492 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.0005004/0.00501, allocations: 376.1 kB / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005044, allocations: 12.92 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.005099, allocations: 28.91 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.005297, allocations: 157.5 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.005313, allocations: 16.31 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.005349, allocations: 20.38 kB / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.005552, allocations: 126.4 kB / 272.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.005565, allocations: 4.141 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.00558, allocations: 8.375 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.005589, allocations: 7.938 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.005674, allocations: 39.97 kB / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.00628, allocations: 386.6 kB / 273.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.006412, allocations: 66.53 kB / 273.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.006452, allocations: 28.28 kB / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.006467, allocations: 4 kB / 273.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.006492, allocations: 38.5 kB / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.006493, allocations: 0 / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009863/0.007479, allocations: 0.5222 MB / 273.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.007509, allocations: 55.41 kB / 273.8 MB, free: 472 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007609, allocations: 142.6 kB / 274 MB, free: 316 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.007626, allocations: 29.7 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.007689, allocations: 136.3 kB / 274.1 MB, free: 140 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.007732, allocations: 71.36 kB / 274.2 MB, free: 68 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.007789, allocations: 45.69 kB / 274.3 MB, free: 16 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.007895, allocations: 322.8 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.007931, allocations: 19.98 kB / 274.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.007994, allocations: 61.12 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.008106, allocations: 92.41 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.008109, allocations: 4 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002178/0.008326, allocations: 150.2 kB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008341, allocations: 4 kB / 274.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.008346, allocations: 4 kB / 274.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.008475, allocations: 28.84 kB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.008594, allocations: 35.92 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.00947, allocations: 1.257 MB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.009536, allocations: 8 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.009546, allocations: 4 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 8.528e-05/0.009631, allocations: 117.8 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.00967, allocations: 19.92 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.009696, allocations: 17.12 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009699, allocations: 8.031 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.009704, allocations: 3.938 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.009709, allocations: 3.984 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.0102, allocations: 366.5 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0102, allocations: 0 / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01031, allocations: 27.92 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/0.0104, allocations: 32.83 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01041, allocations: 4 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007384/0.01115, allocations: 1.221 MB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01115, allocations: 3.938 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.0114, allocations: 238.9 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.01142, allocations: 15.88 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.01144, allocations: 4.062 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.01151, allocations: 8 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.01155, allocations: 15.97 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01156, allocations: 4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.01159, allocations: 31.83 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01159, allocations: 0 / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.01191, allocations: 44 kB / 278.4 MB, free: 11.57 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 8.941e-05/0.012, allocations: 76.42 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.0123, allocations: 226 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.0123, allocations: 0 / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.01245, allocations: 175.3 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01269, allocations: 31.86 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/0.01351, allocations: 425.1 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.925e-05/0.01357, allocations: 79.92 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.01363, allocations: 17.48 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.01372, allocations: 71.36 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01372, allocations: 0 / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Templates: time 0.004805/0.01852, allocations: 1.972 MB / 281.4 MB, free: 8.461 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5974521511234343]