Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001071/0.001071, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002779, 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.001213/0.001213, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002859, 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.132/1.132, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09387/1.226, 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.3113/0.3113, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02487/0.3362, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.369e-05, allocations: 3.188 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002201/0.002215, allocations: 1.98 MB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.003647, allocations: 1.131 MB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003747, allocations: 3.938 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.004107, allocations: 295.1 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.004469, allocations: 255 kB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.00472, allocations: 115.5 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.005023, allocations: 275.2 kB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005142, allocations: 22.59 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.005396, allocations: 220.8 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.005587, allocations: 147.7 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.005617, allocations: 11.94 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.005756, allocations: 67.91 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.005828, allocations: 55.8 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.005887, allocations: 43.75 kB / 297.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.006113, allocations: 195.2 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.00613, allocations: 3.984 kB / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00613, allocations: 0 / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.006146, allocations: 0 / 297.5 MB, free: 1.398 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.0005834/0.00673, allocations: 0.5308 MB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.006762, allocations: 12.03 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.006809, allocations: 24.92 kB / 298.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.007018, allocations: 220.1 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007036, allocations: 8.359 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.007056, allocations: 12.31 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.007204, allocations: 114 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007216, allocations: 3.938 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.007224, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00723, allocations: 4 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.007274, allocations: 25.64 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.007573, allocations: 308.8 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.007815, allocations: 190.5 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.007848, allocations: 29.89 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.007863, allocations: 8 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.008005, allocations: 107.9 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.008007, allocations: 0 / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006584/0.008665, allocations: 320.2 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.008704, allocations: 77.11 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.008923, allocations: 357 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.008943, allocations: 37.64 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.00899, allocations: 129.5 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.009042, allocations: 71.41 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.009086, allocations: 45.69 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.009178, allocations: 350.7 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.009207, allocations: 22.83 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-05/0.009256, allocations: 69.95 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.009343, allocations: 98.81 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009344, allocations: 0 / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001285/0.009472, allocations: 141.5 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.009484, allocations: 4 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00949, allocations: 0 / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.009502, allocations: 12.05 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.009631, allocations: 47.92 kB / 300.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.009634, allocations: 4 kB / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.009681, allocations: 15.92 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.00969, allocations: 4.938 kB / 300.9 MB, free: 13.82 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 7.547e-05/0.009766, allocations: 124.6 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.009791, allocations: 27.97 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.009961, allocations: 160.4 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.009966, allocations: 7.984 kB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009967, allocations: 4 kB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009971, allocations: 0 / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.01035, allocations: 0.5594 MB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01035, allocations: 4 kB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.01041, allocations: 39.92 kB / 301.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.01044, allocations: 39.69 kB / 301.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01044, allocations: 0 / 301.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.01045, allocations: 8 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01045, allocations: 4.125 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01046, allocations: 4 kB / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01068, allocations: 420.6 kB / 302.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.0107, allocations: 8 kB / 302.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.01078, allocations: 11.98 kB / 302.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.01082, allocations: 19.97 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.01083, allocations: 8 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.01096, allocations: 167.5 kB / 302.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01096, allocations: 0 / 302.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.01117, allocations: 51.94 kB / 302.5 MB, free: 12.09 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.001698/0.01287, allocations: 0.7248 MB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01302, allocations: 97.7 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.01303, allocations: 4 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.01309, allocations: 68.62 kB / 303.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.0134, allocations: 93.22 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.01408, allocations: 0.5121 MB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.01415, allocations: 100.3 kB / 304.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.094e-05/0.01422, allocations: 45.91 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01432, allocations: 95.34 kB / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01432, allocations: 0 / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of Templates: time 0.005351/0.01967, allocations: 3.715 MB / 307.9 MB, free: 7.043 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.052606573328376]