Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009258/0.0009258, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002221, 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.001834/0.001834, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002198/0.004032, 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.167, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2926/0.2926, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.3191, allocations: 12.53 MB / 289.3 MB, free: 8.66 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.93e-05, allocations: 3.188 kB / 290.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003704/0.003734, allocations: 1.761 MB / 292.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004892, allocations: 0.5644 MB / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.00497, allocations: 0 / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.005615, allocations: 495.4 kB / 293.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.006145, allocations: 311.1 kB / 293.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.006565, allocations: 131.6 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.006884, allocations: 187.6 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006998, allocations: 12.22 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.007276, allocations: 167.7 kB / 294.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.007537, allocations: 195.6 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.007561, allocations: 4 kB / 294.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.007695, allocations: 55.91 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.007809, allocations: 79.72 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.007861, allocations: 35.75 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.008189, allocations: 211 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.23e-05/0.008212, allocations: 0 / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008213, allocations: 4 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.008241, allocations: 4 kB / 294.8 MB, free: 4.059 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008448/0.009086, allocations: 0.6038 MB / 295.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.009132, allocations: 12.03 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.009208, allocations: 24.91 kB / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.009485, allocations: 246 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.009497, allocations: 384 / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.00952, allocations: 4.375 kB / 295.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.00967, allocations: 66.88 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.009682, allocations: 192 / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.009695, allocations: 8.125 kB / 295.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.009703, allocations: 11.98 kB / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.009747, allocations: 11.98 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.01007, allocations: 172.2 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.01026, allocations: 34.56 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.01029, allocations: 12.98 kB / 296 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.01032, allocations: 0 / 296 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.01035, allocations: 38.5 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.01035, allocations: 3.938 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007969/0.01115, allocations: 222.8 kB / 296.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.01118, allocations: 55.41 kB / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.01169, allocations: 0.5283 MB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.0117, allocations: 29.7 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.01179, allocations: 149.2 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.01184, allocations: 39.67 kB / 297.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.01189, allocations: 21.72 kB / 297.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.01203, allocations: 366.6 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.01206, allocations: 8 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.01209, allocations: 12 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.01216, allocations: 46.22 kB / 297.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01216, allocations: 0 / 297.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001353/0.0123, allocations: 82.95 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.01232, allocations: 8 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.01233, allocations: 0 / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01234, allocations: 0 / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01245, allocations: 23.98 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01245, allocations: 4 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.01251, allocations: 8 kB / 297.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01252, allocations: 7.984 kB / 297.6 MB, free: 1.066 MB / 282.7 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 (11): * Single equations (assignments): 11 * 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.0001038/0.01262, allocations: 120.5 kB / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.01267, allocations: 23.97 kB / 297.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.01287, allocations: 113.5 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01288, allocations: 4 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01288, allocations: 0 / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01288, allocations: 0 / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.01333, allocations: 344.1 kB / 298.2 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01334, allocations: 0 / 298.2 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.01342, allocations: 23.98 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.01347, allocations: 39.7 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01347, allocations: 0 / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01348, allocations: 0 / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01348, allocations: 4 kB / 298.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.01349, allocations: 7.875 kB / 298.3 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.01367, allocations: 194.1 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01369, allocations: 192 / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.01378, allocations: 20.06 kB / 298.5 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01382, allocations: 7.922 kB / 298.5 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01383, allocations: 4 kB / 298.5 MB, free: 112 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003119/0.01414, allocations: 287.2 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01414, allocations: 3.938 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.0144, allocations: 35.88 kB / 298.8 MB, free: 15.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002054/0.01645, allocations: 0.6258 MB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01658, allocations: 40.78 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.0166, allocations: 12 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.01665, allocations: 32.77 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01696, allocations: 44.52 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01808, allocations: 0.6337 MB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01819, allocations: 123.2 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.01827, allocations: 16.47 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.01835, allocations: 63.38 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.123e-06/0.01835, allocations: 4 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of Templates: time 0.006154/0.0245, allocations: 1.889 MB / 302.3 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.23469515144825]