Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.002052/0.002052, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00204/0.00204, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3306/0.3306, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.886e-05, allocations: 2.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00321/0.003239, allocations: 1.614 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004387, allocations: 0.5259 MB / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.004438, allocations: 0 / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.004657, allocations: 23.8 kB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.004982, allocations: 87.55 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.005272, allocations: 95.62 kB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.005443, allocations: 63.78 kB / 377.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005544, allocations: 7.984 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.005626, allocations: 27.92 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.005698, allocations: 19.97 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.005715, allocations: 0 / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.005801, allocations: 27.98 kB / 377.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.00586, allocations: 15.88 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.005903, allocations: 27.91 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.00609, allocations: 71.73 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006092, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006093, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.006097, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 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.0005515/0.006649, allocations: 415.8 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.006686, allocations: 11.97 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.006735, allocations: 8.891 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.006949, allocations: 144.3 kB / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.006959, allocations: 384 / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.006978, allocations: 8.375 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.007104, allocations: 42.25 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.007116, allocations: 192 / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.00713, allocations: 8.125 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.007136, allocations: 3.984 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.007211, allocations: 12 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.007606, allocations: 279.8 kB / 378.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.007842, allocations: 50.98 kB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.007894, allocations: 23.77 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007913, allocations: 7.938 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.007943, allocations: 33.39 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.007944, allocations: 0 / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005124/0.008457, allocations: 125.4 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.008508, allocations: 59.39 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.008701, allocations: 201.9 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.008734, allocations: 33.7 kB / 379.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.00883, allocations: 142.9 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.008855, allocations: 15.84 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.008899, allocations: 31.38 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.009153, allocations: 0.4923 MB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.00921, allocations: 15.98 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.009253, allocations: 12.12 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.009384, allocations: 47.67 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.009387, allocations: 4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001825/0.00957, allocations: 77.56 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.009585, allocations: 4 kB / 380.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.009589, allocations: 0 / 380.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.009603, allocations: 4 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.009668, allocations: 11.98 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009673, allocations: 4 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.009705, allocations: 11.83 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.009716, allocations: 8 kB / 380.2 MB, free: 15.83 MB / 362.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 (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.000114/0.00983, allocations: 152.6 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.009872, allocations: 19.89 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.01009, allocations: 78.12 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.0101, allocations: 4 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.0101, allocations: 4 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01011, allocations: 288 / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.01091, allocations: 345.3 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01091, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.01097, allocations: 11.98 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01097, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01098, allocations: 3.984 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01098, allocations: 4.188 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01099, allocations: 4 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.01127, allocations: 231.8 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.01128, allocations: 7.953 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.0113, allocations: 0 / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.01139, allocations: 4 kB / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.01144, allocations: 7.984 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01145, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.01162, allocations: 153.8 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01162, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01185, allocations: 15.98 kB / 381.2 MB, free: 14.73 MB / 362.7 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.002897/0.01475, allocations: 441.4 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.01495, allocations: 47.66 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01495, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.01502, allocations: 31.61 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.01534, allocations: 19.92 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.01584, allocations: 182.6 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.01595, allocations: 79.33 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.016, allocations: 11.97 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.01604, allocations: 12.5 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01604, allocations: 0 / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Templates: time 0.004777/0.02081, allocations: 1.168 MB / 383.2 MB, free: 12.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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: 4.860458123963326]