Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001003/0.001003, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001579/0.001579, allocations: 170.2 kB / 24.91 MB, free: 9.207 MB / 18.57 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 0.9845/0.9845, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2782/0.2782, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.469e-05, allocations: 5.719 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003309/0.003333, allocations: 1.778 MB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.005003, allocations: 1.01 MB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.005092, allocations: 0 / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.005447, allocations: 87.64 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.005843, allocations: 131.4 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.006096, allocations: 79.61 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.006315, allocations: 127.6 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.006409, allocations: 11.97 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.006538, allocations: 67.81 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.006662, allocations: 59.86 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.00668, allocations: 4 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.006807, allocations: 59.92 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.006873, allocations: 35.84 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.006915, allocations: 20.42 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.007153, allocations: 127.4 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007156, allocations: 0 / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007157, allocations: 0 / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.007161, allocations: 4 kB / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004666/0.007628, allocations: 333.4 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.007664, allocations: 11.97 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.007706, allocations: 12.92 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.007918, allocations: 158.3 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.007937, allocations: 8.375 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.00796, allocations: 384 / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.008104, allocations: 69.75 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008117, allocations: 3.938 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.008124, allocations: 0 / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008132, allocations: 4 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.008172, allocations: 15.97 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.008457, allocations: 173.9 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.008643, allocations: 97.3 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.008673, allocations: 16.86 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.008686, allocations: 0 / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.008804, allocations: 70.14 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008805, allocations: 0 / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005263/0.009331, allocations: 178.8 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.009366, allocations: 51.41 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.009523, allocations: 193.6 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.009543, allocations: 33.7 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.009584, allocations: 92.11 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.009622, allocations: 43.62 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.009666, allocations: 29.69 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.009763, allocations: 326.8 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.00979, allocations: 18.81 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.009825, allocations: 24.97 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.009894, allocations: 57.36 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009896, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001185/0.01001, allocations: 86.34 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01003, allocations: 4 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01003, allocations: 4.031 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01005, allocations: 0 / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.01012, allocations: 23.94 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01013, allocations: 8.219 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.01017, allocations: 0 / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.01018, allocations: 8 kB / 331 MB, free: 1.695 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.01026, allocations: 116.6 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.01028, allocations: 15.98 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.01044, allocations: 94.98 kB / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.01044, allocations: 4 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01045, allocations: 0 / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01045, allocations: 4 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.01079, allocations: 328.1 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01079, allocations: 0 / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.01084, allocations: 19.98 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01085, allocations: 4 kB / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01086, allocations: 0 / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01086, allocations: 0 / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01086, allocations: 4 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01102, allocations: 243.8 kB / 331.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.01104, allocations: 11.91 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.01106, allocations: 4 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.01113, allocations: 4 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.01116, allocations: 7.984 kB / 331.9 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01118, allocations: 11.92 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.01125, allocations: 60.23 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01125, allocations: 0 / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.01153, allocations: 27.94 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001935/0.01346, allocations: 0.6557 MB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01359, allocations: 56.72 kB / 332.7 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.0136, allocations: 0 / 332.7 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.01365, allocations: 36.77 kB / 332.7 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01392, allocations: 42.89 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.01437, allocations: 259.8 kB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.201e-05/0.01443, allocations: 75.34 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.01449, allocations: 12.64 kB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.972e-05/0.01459, allocations: 71.36 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01459, allocations: 3.938 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of Templates: time 0.003889/0.01848, allocations: 2.309 MB / 335.5 MB, free: 13.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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: 3.114463015925139]