Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.000886/0.000886, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002278, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001009/0.001009, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002323, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.114, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3166/0.3166, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02725/0.3439, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.897e-05, allocations: 3.188 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002416/0.002435, allocations: 1.972 MB / 294.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003996, allocations: 1.127 MB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004099, allocations: 0 / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.004487, allocations: 223.2 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.00496, allocations: 215.1 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.005349, allocations: 123.5 kB / 296.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.005769, allocations: 255.2 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.005868, allocations: 26.53 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.006107, allocations: 212.7 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.006258, allocations: 135.7 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.006278, allocations: 12 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.006399, allocations: 63.86 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.006461, allocations: 51.8 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.006512, allocations: 39.86 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.006756, allocations: 195.2 kB / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.006771, allocations: 0 / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006772, allocations: 0 / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.006784, allocations: 0 / 297.3 MB, free: 1.57 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007265/0.00751, allocations: 0.5114 MB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.00755, allocations: 8.031 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.007605, allocations: 24.91 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.007833, allocations: 213.8 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.007849, allocations: 8.312 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.007873, allocations: 16.38 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.008012, allocations: 109.6 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.008023, allocations: 7.922 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.008031, allocations: 4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.008038, allocations: 4 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.008082, allocations: 29.62 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.008423, allocations: 296.8 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.008638, allocations: 178.8 kB / 298.7 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.008674, allocations: 33.64 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.00869, allocations: 7.938 kB / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.008847, allocations: 109.7 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.008848, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000633/0.009481, allocations: 323.8 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.00952, allocations: 81.11 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.009731, allocations: 332.6 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.009752, allocations: 37.69 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.009803, allocations: 117.6 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.009855, allocations: 71.42 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.009901, allocations: 41.69 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.009999, allocations: 350.7 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.01003, allocations: 26.81 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.01008, allocations: 54.05 kB / 300.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.01017, allocations: 103.9 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01017, allocations: 4 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001324/0.0103, allocations: 137.5 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01032, allocations: 7.984 kB / 300.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01032, allocations: 4 kB / 300.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.01033, allocations: 0 / 300.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.01042, allocations: 51.92 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.01043, allocations: 0.9375 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.01047, allocations: 15.92 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.01048, allocations: 4 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.321e-05/0.01057, allocations: 132.7 kB / 300.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.01059, allocations: 27.91 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01076, allocations: 160.3 kB / 300.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01077, allocations: 4 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01077, allocations: 3.984 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01078, allocations: 0 / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.01144, allocations: 0.5594 MB / 301.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01144, allocations: 4.125 kB / 301.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.01151, allocations: 35.98 kB / 301.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.01154, allocations: 35.73 kB / 301.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01154, allocations: 7.984 kB / 301.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01155, allocations: 7.938 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01155, allocations: 4 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01156, allocations: 4 kB / 301.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.01176, allocations: 423.8 kB / 302 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01178, allocations: 8 kB / 302 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.01185, allocations: 12 kB / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.01189, allocations: 23.97 kB / 302 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.0119, allocations: 7.984 kB / 302.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.012, allocations: 151.4 kB / 302.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 302.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.01221, allocations: 43.94 kB / 302.2 MB, free: 12.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001625/0.01384, allocations: 0.7209 MB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.014, allocations: 104.7 kB / 303.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01401, allocations: 4 kB / 303.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/0.01407, allocations: 64.64 kB / 303.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.01436, allocations: 85.33 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.01506, allocations: 0.4932 MB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.01512, allocations: 100.7 kB / 303.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.01519, allocations: 33.94 kB / 303.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.0153, allocations: 95.34 kB / 303.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0153, allocations: 0 / 303.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of Templates: time 0.005386/0.02068, allocations: 3.704 MB / 307.6 MB, free: 7.355 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.107821738347411]