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.00191/0.00191, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002225/0.002225, allocations: 180.2 kB / 23.7 MB, free: 4.414 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.455/1.455, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.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 0.002751/0.002751, allocations: 43.92 kB / 370.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3068, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003541/0.3103, allocations: 2.023 MB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.3113, allocations: 0.5104 MB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3114, allocations: 7.938 kB / 425.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.3116, allocations: 31.66 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3117, allocations: 59.55 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.3119, allocations: 51.88 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.3122, allocations: 207.1 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3123, allocations: 49.77 kB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3124, allocations: 79.72 kB / 426.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3126, allocations: 75.61 kB / 426.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.3126, allocations: 16 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.3127, allocations: 16 kB / 426.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.3127, allocations: 35.86 kB / 426.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.3128, allocations: 79.66 kB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.3131, allocations: 216.4 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3131, allocations: 0 / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3131, allocations: 0 / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3131, allocations: 0 / 426.5 MB, free: 11.05 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.0007114/0.3138, allocations: 404.6 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3138, allocations: 8.031 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.3139, allocations: 24.8 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.3142, allocations: 170.2 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3142, allocations: 16.38 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.3143, allocations: 12.38 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.3146, allocations: 157.9 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3146, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3147, allocations: 4 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3147, allocations: 7.984 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.3149, allocations: 103.7 kB / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.3158, allocations: 490.8 kB / 427.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.316, allocations: 110.5 kB / 428 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.3161, allocations: 44.84 kB / 428 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3161, allocations: 0 / 428 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3162, allocations: 30.56 kB / 428 MB, free: 9.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.3162, allocations: 4 kB / 428 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.00152/0.3177, allocations: 0.6617 MB / 428.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3177, allocations: 55.41 kB / 428.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3179, allocations: 137.8 kB / 428.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3179, allocations: 29.7 kB / 428.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.318, allocations: 140.4 kB / 429.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.318, allocations: 67.36 kB / 429.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.3181, allocations: 33.72 kB / 429.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3183, allocations: 326.8 kB / 429.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3184, allocations: 47.91 kB / 429.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3185, allocations: 81.28 kB / 429.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3187, allocations: 123.4 kB / 429.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3187, allocations: 0 / 429.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003962/0.3191, allocations: 206.3 kB / 429.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3191, allocations: 7.938 kB / 429.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3191, allocations: 0 / 429.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.3193, allocations: 40.83 kB / 430 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3195, allocations: 35.92 kB / 430 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.3208, allocations: 1.398 MB / 431.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.3209, allocations: 12.12 kB / 431.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3209, allocations: 8 kB / 431.4 MB, free: 5.762 MB / 334.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.0001256/0.3211, allocations: 133.8 kB / 431.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3211, allocations: 11.91 kB / 431.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.3211, allocations: 21.11 kB / 431.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3211, allocations: 0 / 431.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3211, allocations: 4 kB / 431.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3211, allocations: 0 / 431.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.3219, allocations: 0.5016 MB / 432.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.322, allocations: 0 / 432.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3221, allocations: 27.98 kB / 432.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.3222, allocations: 40.77 kB / 432.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3222, allocations: 0 / 432.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3234, allocations: 1.344 MB / 433.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3234, allocations: 11.89 kB / 433.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.324, allocations: 332.1 kB / 433.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.324, allocations: 11.92 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.324, allocations: 7.875 kB / 433.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3241, allocations: 8 kB / 433.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3242, allocations: 15.91 kB / 433.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3242, allocations: 12 kB / 433.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.3243, allocations: 106.2 kB / 434 MB, free: 2.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3243, allocations: 4.125 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.3246, allocations: 40 kB / 434 MB, free: 2.953 MB / 334.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.0001132/0.3247, allocations: 103.2 kB / 434.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.3252, allocations: 242.5 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3252, allocations: 0 / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.3255, allocations: 197.7 kB / 434.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3258, allocations: 19.23 kB / 434.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.3267, allocations: 0.4921 MB / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3268, allocations: 120.2 kB / 435.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.3269, allocations: 21.41 kB / 435.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.3269, allocations: 11.44 kB / 435.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3269, allocations: 0 / 435.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.005443/0.3324, allocations: 1.994 MB / 437.2 MB, free: 15.72 MB / 350.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.471068007871509]