Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002778, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001964, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9315/0.9315, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08107/1.013, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.13e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00219/0.002202, allocations: 2.186 MB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005825/0.002784, allocations: 0.5839 MB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.002863, allocations: 7.938 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.392e-05/0.002937, allocations: 35.72 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.003019, allocations: 59.44 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.321e-05/0.003112, allocations: 47.92 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.003275, allocations: 215 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003381, allocations: 46.38 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.003491, allocations: 123.7 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.003582, allocations: 67.8 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.003607, allocations: 16 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.003624, allocations: 20 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.003654, allocations: 27.94 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.003699, allocations: 51.88 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003845, allocations: 123.5 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.003857, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003857, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.003868, allocations: 0 / 248.6 MB, free: 10.03 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.0004345/0.004302, allocations: 419.7 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.563e-05/0.004328, allocations: 8.625 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004368, allocations: 32.91 kB / 249 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.004516, allocations: 153.5 kB / 249.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.004528, allocations: 16.09 kB / 249.2 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.004552, allocations: 20.33 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.004695, allocations: 122.9 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.004704, allocations: 192 / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.004717, allocations: 12.38 kB / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004723, allocations: 7.938 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.004783, allocations: 39.75 kB / 249.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.00521, allocations: 394.8 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.005302, allocations: 66.48 kB / 249.9 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.005329, allocations: 24.78 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005341, allocations: 4 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.005359, allocations: 38.5 kB / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.32e-07/0.00536, allocations: 0 / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.000717/0.006077, allocations: 0.5223 MB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.006101, allocations: 55.41 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.006167, allocations: 142 kB / 250.6 MB, free: 7.805 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006179, allocations: 29.7 kB / 250.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.006225, allocations: 144.3 kB / 250.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.006257, allocations: 67.36 kB / 250.9 MB, free: 7.559 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.006295, allocations: 41.69 kB / 250.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.006363, allocations: 326.8 kB / 251.2 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.006383, allocations: 15.98 kB / 251.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.006426, allocations: 61.12 kB / 251.3 MB, free: 7.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.006498, allocations: 96.27 kB / 251.4 MB, free: 6.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006499, allocations: 4 kB / 251.4 MB, free: 6.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001391/0.006638, allocations: 142.2 kB / 251.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006648, allocations: 8 kB / 251.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006652, allocations: 0 / 251.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.955e-05/0.006752, allocations: 32.83 kB / 251.6 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.006855, allocations: 52.03 kB / 251.6 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006083/0.007463, allocations: 1.257 MB / 252.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.007501, allocations: 7.984 kB / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.007509, allocations: 4 kB / 252.9 MB, free: 5.379 MB / 250.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 6.087e-05/0.007569, allocations: 125.8 kB / 253 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.007595, allocations: 23.95 kB / 253.1 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.007615, allocations: 17.12 kB / 253.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.007618, allocations: 7.938 kB / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.00762, allocations: 0 / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.007622, allocations: 0 / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.00795, allocations: 369.8 kB / 253.4 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007951, allocations: 0 / 253.4 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.008032, allocations: 39.86 kB / 253.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.008043, allocations: 15.89 kB / 253.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.915e-05/0.008102, allocations: 28.83 kB / 253.5 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008109, allocations: 4 kB / 253.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007373/0.008846, allocations: 1.226 MB / 254.8 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008848, allocations: 3.984 kB / 254.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.009005, allocations: 240.2 kB / 255 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.009014, allocations: 4 kB / 255 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.009058, allocations: 8 kB / 255 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.009085, allocations: 15.97 kB / 255 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.00909, allocations: 0 / 255 MB, free: 3.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.329e-05/0.009113, allocations: 32.83 kB / 255.1 MB, free: 3.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009113, allocations: 0 / 255.1 MB, free: 3.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000148/0.009261, allocations: 40 kB / 255.1 MB, free: 3.047 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 6.287e-05/0.009324, allocations: 84.45 kB / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.009537, allocations: 230.3 kB / 255.4 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.009543, allocations: 0 / 255.4 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.009643, allocations: 175.3 kB / 255.6 MB, free: 2.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.009801, allocations: 35.98 kB / 255.6 MB, free: 2.492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.01137, allocations: 403.8 kB / 256 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.01141, allocations: 87.97 kB / 256.1 MB, free: 1.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.01145, allocations: 13.48 kB / 256.1 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.01151, allocations: 75.31 kB / 256.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01151, allocations: 0 / 256.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of Templates: time 0.003388/0.0149, allocations: 2.007 MB / 258.2 MB, free: 15.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.3775455001741648]