Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00159/0.00159, allocations: 96.31 kB / 21.73 MB, free: 2.68 MB / 18.57 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.001565/0.001565, allocations: 168.9 kB / 25.02 MB, free: 8.965 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 250.3 MB, free: 7.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.909e-05, allocations: 2.312 kB / 250.3 MB, free: 7.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003833/0.003862, allocations: 2.023 MB / 252.4 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.005127, allocations: 0.5617 MB / 252.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.005293, allocations: 8 kB / 252.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.005477, allocations: 43.58 kB / 253 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.005619, allocations: 47.5 kB / 253 MB, free: 5.227 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.005814, allocations: 51.92 kB / 253.1 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.006127, allocations: 211 kB / 253.3 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.006292, allocations: 45.78 kB / 253.3 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.006503, allocations: 119.7 kB / 253.4 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006642, allocations: 59.8 kB / 253.5 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.006682, allocations: 20 kB / 253.5 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.00672, allocations: 16 kB / 253.5 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.006763, allocations: 35.84 kB / 253.6 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.006861, allocations: 67.83 kB / 253.6 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.007188, allocations: 215.3 kB / 253.9 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007192, allocations: 0 / 253.9 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007193, allocations: 0 / 253.9 MB, free: 4.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.007201, allocations: 0 / 253.9 MB, free: 4.402 MB / 234.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.001072/0.008273, allocations: 405.5 kB / 254.2 MB, free: 3.977 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.008323, allocations: 19.92 kB / 254.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.008417, allocations: 32.8 kB / 254.3 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.008739, allocations: 165.4 kB / 254.5 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.008766, allocations: 16.38 kB / 254.5 MB, free: 3.723 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.008815, allocations: 16.33 kB / 254.5 MB, free: 3.707 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.009188, allocations: 157.7 kB / 254.6 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.009207, allocations: 4.188 kB / 254.7 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.009236, allocations: 4.375 kB / 254.7 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.009246, allocations: 15.94 kB / 254.7 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.009501, allocations: 95.94 kB / 254.8 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.01047, allocations: 499 kB / 255.3 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.01074, allocations: 106.6 kB / 255.4 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01085, allocations: 36.84 kB / 255.4 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.01087, allocations: 4 kB / 255.4 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.01091, allocations: 30.56 kB / 255.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.01091, allocations: 4 kB / 255.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.001705/0.01262, allocations: 0.6556 MB / 256.1 MB, free: 1.996 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.01266, allocations: 51.41 kB / 256.1 MB, free: 1.934 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01282, allocations: 142.3 kB / 256.3 MB, free: 1.785 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.01285, allocations: 29.7 kB / 256.3 MB, free: 1.75 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01296, allocations: 136.5 kB / 256.4 MB, free: 1.613 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.01302, allocations: 63.44 kB / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.0131, allocations: 37.7 kB / 256.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.01329, allocations: 322.8 kB / 256.9 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.0134, allocations: 43.98 kB / 256.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.01355, allocations: 75.34 kB / 257 MB, free: 1.055 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.01381, allocations: 127.3 kB / 257.1 MB, free: 0.918 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01382, allocations: 0 / 257.1 MB, free: 0.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004644/0.01428, allocations: 218.2 kB / 257.3 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.0143, allocations: 7.438 kB / 257.3 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01431, allocations: 4 kB / 257.3 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.01452, allocations: 44.78 kB / 257.4 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.01468, allocations: 31.92 kB / 257.4 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.01631, allocations: 1.402 MB / 258.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.01641, allocations: 11.98 kB / 258.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01642, allocations: 11.98 kB / 258.8 MB, free: 15.08 MB / 250.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.0001536/0.01658, allocations: 133.8 kB / 258.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.01663, allocations: 19.91 kB / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.01667, allocations: 21.19 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.01668, allocations: 4 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01668, allocations: 0 / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01669, allocations: 3.984 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.01768, allocations: 0.5058 MB / 259.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01768, allocations: 0 / 259.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.01784, allocations: 23.98 kB / 259.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.018, allocations: 44.7 kB / 259.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01801, allocations: 8 kB / 259.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.01967, allocations: 1.343 MB / 260.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01967, allocations: 0 / 260.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.02027, allocations: 340.2 kB / 261.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.0203, allocations: 24.03 kB / 261.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.02032, allocations: 4 kB / 261.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02043, allocations: 7.938 kB / 261.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.02049, allocations: 15.97 kB / 261.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.0205, allocations: 4 kB / 261.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.0206, allocations: 103.3 kB / 261.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0206, allocations: 0 / 261.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.02095, allocations: 44 kB / 261.4 MB, free: 12.26 MB / 250.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.0001517/0.0211, allocations: 103.2 kB / 261.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005602/0.02166, allocations: 245.5 kB / 261.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02166, allocations: 0 / 261.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.02198, allocations: 190.4 kB / 262 MB, free: 11.7 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.02234, allocations: 27.42 kB / 262 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.02332, allocations: 449 kB / 262.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.02346, allocations: 116.2 kB / 262.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.02353, allocations: 17.48 kB / 262.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.02358, allocations: 12.5 kB / 262.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02358, allocations: 3.938 kB / 262.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Templates: time 0.006055/0.02964, allocations: 1.837 MB / 264.4 MB, free: 9.227 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.412730276933871]