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.001739/0.001739, allocations: 78.88 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001804/0.001804, allocations: 149.1 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.431/1.431, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.398e-05, allocations: 3.469 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002597/0.002621, allocations: 2.018 MB / 320.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.003427, allocations: 0.5204 MB / 321.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003534, allocations: 7.688 kB / 321.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.003693, allocations: 33.56 kB / 321.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.00379, allocations: 51.5 kB / 321.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003966, allocations: 50.69 kB / 321.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.004186, allocations: 217.5 kB / 321.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004332, allocations: 55.28 kB / 321.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004479, allocations: 117.9 kB / 322 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004595, allocations: 58.88 kB / 322 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.004631, allocations: 17.81 kB / 322 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.004668, allocations: 16.5 kB / 322.1 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.004703, allocations: 38.72 kB / 322.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.004775, allocations: 62.77 kB / 322.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.005039, allocations: 214.9 kB / 322.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005042, allocations: 0 / 322.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005042, allocations: 3.938 kB / 322.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005047, allocations: 5.188 kB / 322.4 MB, free: 1.398 MB / 286.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.0005541/0.005601, allocations: 401 kB / 322.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.005635, allocations: 10.88 kB / 322.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.005686, allocations: 22.55 kB / 322.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.005898, allocations: 167.3 kB / 323 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005915, allocations: 11.25 kB / 323 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.00595, allocations: 16.11 kB / 323 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.006251, allocations: 165.6 kB / 323.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.006267, allocations: 1.219 kB / 323.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.006287, allocations: 7.297 kB / 323.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.006294, allocations: 7.25 kB / 323.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.00653, allocations: 101.3 kB / 323.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.007257, allocations: 492.6 kB / 323.7 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.007483, allocations: 111.8 kB / 323.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.007572, allocations: 39.12 kB / 323.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.007593, allocations: 3.109 kB / 323.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.007612, allocations: 36.16 kB / 323.9 MB, free: 272 kB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.007614, allocations: 0 / 323.9 MB, free: 272 kB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001469/0.009083, allocations: 0.6447 MB / 324.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.009135, allocations: 54.77 kB / 324.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.009257, allocations: 137.3 kB / 324.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.009281, allocations: 31.08 kB / 324.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.009375, allocations: 135.7 kB / 324.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.009429, allocations: 64.39 kB / 325 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.009495, allocations: 37.19 kB / 325 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.009639, allocations: 321.8 kB / 325.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.009747, allocations: 44.72 kB / 325.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.009887, allocations: 82.09 kB / 325.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.01013, allocations: 134.8 kB / 325.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01013, allocations: 0 / 325.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004081/0.01054, allocations: 201.8 kB / 325.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01055, allocations: 6.094 kB / 325.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01056, allocations: 1.312 kB / 325.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.01074, allocations: 50.53 kB / 325.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.01089, allocations: 34.53 kB / 325.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.01225, allocations: 1.393 MB / 327.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.01234, allocations: 8.016 kB / 327.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.01236, allocations: 9.109 kB / 327.3 MB, free: 13.51 MB / 302.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.0001341/0.01249, allocations: 142.9 kB / 327.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.01253, allocations: 15.28 kB / 327.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.01257, allocations: 16.52 kB / 327.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01258, allocations: 2 kB / 327.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01258, allocations: 1.828 kB / 327.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01258, allocations: 0.6562 kB / 327.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.01338, allocations: 0.4927 MB / 328 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01338, allocations: 0 / 328 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.01354, allocations: 35.34 kB / 328 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.01366, allocations: 40.2 kB / 328 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01367, allocations: 0 / 328 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.01494, allocations: 1.352 MB / 329.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01494, allocations: 0 / 329.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.0155, allocations: 344.4 kB / 329.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.01552, allocations: 7.625 kB / 329.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01554, allocations: 9.953 kB / 329.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01565, allocations: 8.016 kB / 329.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.0157, allocations: 15.67 kB / 329.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01571, allocations: 3.344 kB / 329.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.01579, allocations: 108.2 kB / 329.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01579, allocations: 0 / 329.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.0161, allocations: 45.25 kB / 329.9 MB, free: 11.31 MB / 302.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.0001362/0.01623, allocations: 99.64 kB / 330 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.01673, allocations: 255.9 kB / 330.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01673, allocations: 0 / 330.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.01702, allocations: 182.6 kB / 330.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.01736, allocations: 25.08 kB / 330.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.01819, allocations: 427.8 kB / 330.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.01833, allocations: 119.3 kB / 331 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.0184, allocations: 20.69 kB / 331 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.01844, allocations: 19.75 kB / 331 MB, free: 10.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01844, allocations: 0 / 331 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Templates: time 0.005822/0.02427, allocations: 1.81 MB / 332.8 MB, free: 10.27 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.238166328519583]