Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001831/0.001831, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002147/0.002147, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2455/0.2455, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.91 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1946, allocations: 66 MB / 0.5565 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.005006/0.1996, allocations: 1.603 MB / 0.5581 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2016, allocations: 0.5455 MB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.2017, allocations: 0 / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.202, allocations: 35.78 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.2024, allocations: 71.69 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.203, allocations: 103.7 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.2032, allocations: 71.77 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2033, allocations: 11.98 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.2034, allocations: 23.92 kB / 0.5589 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.2035, allocations: 19.86 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2035, allocations: 8 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2037, allocations: 35.92 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.2037, allocations: 15.92 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.2038, allocations: 27.8 kB / 0.559 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.2041, allocations: 75.67 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2041, allocations: 0 / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2041, allocations: 0 / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2041, allocations: 4 kB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006752/0.2048, allocations: 387 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2048, allocations: 15.97 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.2049, allocations: 12.83 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2052, allocations: 194.1 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2052, allocations: 4.375 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.2052, allocations: 384 / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.2054, allocations: 53.81 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2055, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2055, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2055, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.2057, allocations: 27.97 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.2063, allocations: 284.8 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2066, allocations: 46.55 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2067, allocations: 12.86 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2068, allocations: 4 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.2068, allocations: 34.56 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.2068, allocations: 0 / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009728/0.2078, allocations: 149.8 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.2078, allocations: 51.41 kB / 0.5603 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2081, allocations: 155.5 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2081, allocations: 25.7 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2082, allocations: 104.1 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2083, allocations: 11.86 kB / 0.5606 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.2084, allocations: 21.72 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.2086, allocations: 322.8 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2087, allocations: 19.98 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2089, allocations: 27.98 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2092, allocations: 60.81 kB / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2092, allocations: 0 / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003755/0.2096, allocations: 81.62 kB / 0.5611 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.2096, allocations: 8 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2096, allocations: 0 / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2096, allocations: 0 / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2098, allocations: 15.97 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2098, allocations: 0 / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.2098, allocations: 11.98 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2099, allocations: 7.938 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 0.0001662/0.21, allocations: 123.9 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.2101, allocations: 7.953 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.2105, allocations: 93.95 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2105, allocations: 4 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2105, allocations: 0 / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2105, allocations: 4 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/0.2114, allocations: 362.4 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2114, allocations: 0 / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2115, allocations: 16.3 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2115, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2115, allocations: 8 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2115, allocations: 3.938 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2115, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.212, allocations: 187.4 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.2121, allocations: 85.06 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2121, allocations: 0 / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2122, allocations: 11.92 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.2123, allocations: 4 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2123, allocations: 0 / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.2124, allocations: 120.8 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2124, allocations: 0 / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.2129, allocations: 19.94 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002398/0.2153, allocations: 407.3 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.2157, allocations: 51.95 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.2157, allocations: 4 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.2158, allocations: 31.92 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.2164, allocations: 19.42 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.2172, allocations: 211.8 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.2177, allocations: 0.7002 MB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.2178, allocations: 11.44 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2178, allocations: 0 / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of Templates: time 0.00572/0.2235, allocations: 1.453 MB / 0.565 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 8.113762153021526]