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.000919/0.000919, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.0009464/0.0009464, allocations: 163.3 kB / 25.7 MB, free: 8.434 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 0.9126/0.9126, allocations: 158.6 MB / 187.6 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.934e-06/1.934e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.58e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003405/0.003431, allocations: 2.177 MB / 253.7 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00098/0.004411, allocations: 0.5889 MB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004542, allocations: 7.938 kB / 254.3 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.004724, allocations: 35.66 kB / 254.4 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.004845, allocations: 59.44 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.005062, allocations: 51.92 kB / 254.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.005289, allocations: 211 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.005438, allocations: 46.42 kB / 254.7 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.005575, allocations: 123.7 kB / 254.8 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.005697, allocations: 59.8 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.005724, allocations: 16 kB / 254.9 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.005745, allocations: 16 kB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.005778, allocations: 39.84 kB / 255 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.005827, allocations: 59.89 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.006003, allocations: 135.5 kB / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.006007, allocations: 0 / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.006008, allocations: 0 / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006013, allocations: 0 / 255.2 MB, free: 3.605 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.0004298/0.006443, allocations: 380.1 kB / 255.5 MB, free: 3.211 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.006484, allocations: 11.98 kB / 255.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.006537, allocations: 28.91 kB / 255.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.006722, allocations: 165.4 kB / 255.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.006736, allocations: 12.38 kB / 255.7 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.006762, allocations: 16.38 kB / 255.8 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.006936, allocations: 130.6 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.006948, allocations: 4.125 kB / 255.9 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.006965, allocations: 8.375 kB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.006976, allocations: 7.938 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.007039, allocations: 39.75 kB / 256 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.007531, allocations: 394.8 kB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.007634, allocations: 70.53 kB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.007661, allocations: 24.78 kB / 256.4 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.007673, allocations: 0 / 256.4 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.007696, allocations: 38.56 kB / 256.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.007697, allocations: 0 / 256.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008642/0.008561, allocations: 0.5189 MB / 257 MB, free: 1.633 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.008594, allocations: 55.41 kB / 257 MB, free: 1.566 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.00868, allocations: 139.2 kB / 257.2 MB, free: 1.414 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.008698, allocations: 29.7 kB / 257.2 MB, free: 1.379 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.008759, allocations: 140.3 kB / 257.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.008794, allocations: 67.42 kB / 257.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.008841, allocations: 37.69 kB / 257.4 MB, free: 1.129 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.008932, allocations: 330.8 kB / 257.8 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.00896, allocations: 19.92 kB / 257.8 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.009004, allocations: 57.12 kB / 257.8 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.009092, allocations: 97.03 kB / 257.9 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.009093, allocations: 0 / 257.9 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001694/0.009262, allocations: 146.2 kB / 258.1 MB, free: 448 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.009275, allocations: 8 kB / 258.1 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.009281, allocations: 0 / 258.1 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.009397, allocations: 32.84 kB / 258.1 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.009502, allocations: 43.91 kB / 258.2 MB, free: 360 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007808/0.01028, allocations: 1.261 MB / 259.4 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.01034, allocations: 7.984 kB / 259.4 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01035, allocations: 8 kB / 259.4 MB, free: 14.98 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 8.588e-05/0.01043, allocations: 113.8 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01046, allocations: 15.98 kB / 259.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.01048, allocations: 17.12 kB / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01048, allocations: 3.938 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01049, allocations: 4.031 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01049, allocations: 7.875 kB / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.01087, allocations: 374.1 kB / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01087, allocations: 4 kB / 260 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.01097, allocations: 31.92 kB / 260 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.01104, allocations: 32.83 kB / 260 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01105, allocations: 4 kB / 260 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/0.01167, allocations: 1.221 MB / 261.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01167, allocations: 0 / 261.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.01187, allocations: 240.2 kB / 261.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01189, allocations: 11.91 kB / 261.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.0119, allocations: 3.984 kB / 261.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.01195, allocations: 12.06 kB / 261.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.01199, allocations: 19.88 kB / 261.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.012, allocations: 4 kB / 261.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.01202, allocations: 24.97 kB / 261.6 MB, free: 12.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01202, allocations: 4 kB / 261.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01221, allocations: 44 kB / 261.6 MB, free: 12.66 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.0001137/0.01232, allocations: 76.41 kB / 261.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.0126, allocations: 218.4 kB / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.01261, allocations: 0 / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.01274, allocations: 179.3 kB / 262.1 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01297, allocations: 19.98 kB / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.01393, allocations: 427.9 kB / 262.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.468e-05/0.01399, allocations: 75.98 kB / 262.6 MB, free: 11.6 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.01407, allocations: 21.56 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.01416, allocations: 71.36 kB / 262.7 MB, free: 11.51 MB / 250.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01416, allocations: 3.938 kB / 262.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of Templates: time 0.005293/0.01945, allocations: 1.969 MB / 264.7 MB, free: 9.547 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] 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","",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.770775516051799]