Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001676/0.001676, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002135/0.002135, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.061/2.061, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 51.92 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00458/0.3608, allocations: 2.028 MB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3623, allocations: 0.5493 MB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3624, allocations: 7.938 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3626, allocations: 31.7 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.3628, allocations: 59.5 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3631, allocations: 51.94 kB / 435 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.3634, allocations: 207 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3636, allocations: 49.78 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3637, allocations: 83.66 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3639, allocations: 79.62 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.3639, allocations: 16 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.364, allocations: 16 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.364, allocations: 39.89 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3641, allocations: 79.67 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.3645, allocations: 217.8 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3645, allocations: 0 / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3645, allocations: 0 / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.3645, allocations: 0 / 435.8 MB, free: 3.203 MB / 334.1 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.0008355/0.3653, allocations: 397.5 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3654, allocations: 8.031 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.3654, allocations: 24.77 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.3658, allocations: 174.2 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3659, allocations: 16.09 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.3659, allocations: 20.38 kB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.3664, allocations: 153.9 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3664, allocations: 0 / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3664, allocations: 4 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3664, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.3668, allocations: 107.7 kB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.368, allocations: 490.8 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3683, allocations: 106.6 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3685, allocations: 40.83 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3685, allocations: 4 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.3685, allocations: 34.56 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.3685, allocations: 3.938 kB / 437.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.002088/0.3706, allocations: 0.6451 MB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.3707, allocations: 59.34 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3709, allocations: 144 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3709, allocations: 25.7 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.371, allocations: 132.5 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.3711, allocations: 71.36 kB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.3711, allocations: 33.72 kB / 438.5 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3713, allocations: 334.8 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3715, allocations: 43.92 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.3717, allocations: 75.41 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.372, allocations: 131.3 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.372, allocations: 0 / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005281/0.3725, allocations: 202.2 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.3725, allocations: 14.91 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3725, allocations: 0 / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.3727, allocations: 40.83 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.373, allocations: 27.98 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.3747, allocations: 1.398 MB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3749, allocations: 16.16 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3749, allocations: 4 kB / 440.7 MB, free: 13.93 MB / 350.1 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.0001666/0.375, allocations: 137.7 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.3751, allocations: 15.94 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.3752, allocations: 21.12 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3752, allocations: 0 / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3752, allocations: 0 / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.3752, allocations: 4 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3762, allocations: 0.5093 MB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3762, allocations: 0 / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3764, allocations: 23.98 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.3766, allocations: 28.84 kB / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3766, allocations: 8 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.3782, allocations: 1.347 MB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3782, allocations: 3.938 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.3789, allocations: 336.1 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.379, allocations: 15.88 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.379, allocations: 4 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3791, allocations: 8 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3792, allocations: 11.97 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.3792, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3793, allocations: 110.1 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3793, allocations: 4 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000476/0.3798, allocations: 47.94 kB / 443.4 MB, free: 11.11 MB / 350.1 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.0001658/0.3799, allocations: 106.4 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.3806, allocations: 245.5 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3806, allocations: 0 / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.381, allocations: 193.5 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.3815, allocations: 31.97 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3829, allocations: 0.496 MB / 444.4 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.3831, allocations: 120.2 kB / 444.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.3832, allocations: 13.42 kB / 444.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.3832, allocations: 15.44 kB / 444.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3832, allocations: 0 / 444.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Templates: time 0.007193/0.3904, allocations: 2.048 MB / 446.6 MB, free: 7.816 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.929888974002097]