Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009529/0.0009529, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001141/0.001141, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1458/0.1458, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.367e-05, allocations: 6.25 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003406/0.00344, allocations: 1.588 MB / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.004127, allocations: 311.4 kB / 350.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.004204, allocations: 4 kB / 350.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.004587, allocations: 111.6 kB / 350.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.004837, allocations: 75.7 kB / 351 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.00509, allocations: 75.78 kB / 351.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.00528, allocations: 83.73 kB / 351.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005387, allocations: 8 kB / 351.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.005476, allocations: 39.89 kB / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.005604, allocations: 63.86 kB / 351.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.005625, allocations: 4 kB / 351.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.005716, allocations: 35.91 kB / 351.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.005771, allocations: 19.94 kB / 351.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.0058, allocations: 11.92 kB / 351.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.005977, allocations: 87.61 kB / 351.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.00598, allocations: 4 kB / 351.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.005981, allocations: 0 / 351.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005986, allocations: 0 / 351.4 MB, free: 6.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004391/0.006425, allocations: 435.9 kB / 351.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.006467, allocations: 12.03 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.00651, allocations: 8.891 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.006682, allocations: 152.3 kB / 352 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.006694, allocations: 8.375 kB / 352 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.006714, allocations: 384 / 352 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.006834, allocations: 58.89 kB / 352.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006845, allocations: 4.188 kB / 352.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.006854, allocations: 4.125 kB / 352.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006861, allocations: 0 / 352.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.006889, allocations: 4 kB / 352.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007176, allocations: 264.4 kB / 352.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.007373, allocations: 42.98 kB / 352.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.007397, allocations: 11.69 kB / 352.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.007422, allocations: 0 / 352.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.007449, allocations: 41.31 kB / 352.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.007451, allocations: 0 / 352.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004173/0.007869, allocations: 97.55 kB / 352.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.007907, allocations: 55.41 kB / 352.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.008093, allocations: 245.8 kB / 352.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.008102, allocations: 25.7 kB / 352.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.00817, allocations: 162.8 kB / 353 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.008198, allocations: 11.84 kB / 353 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.008249, allocations: 27.36 kB / 353.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.008346, allocations: 0.5001 MB / 353.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.008365, allocations: 8 kB / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.008381, allocations: 0 / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.008425, allocations: 23.62 kB / 353.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008426, allocations: 4 kB / 353.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.008539, allocations: 65.53 kB / 353.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.008558, allocations: 4 kB / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.008566, allocations: 0 / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.008582, allocations: 0 / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.008653, allocations: 16.23 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.008657, allocations: 0 / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.008688, allocations: 8 kB / 353.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.008695, allocations: 0 / 353.7 MB, free: 4.172 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 (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 7.769e-05/0.008772, allocations: 160.6 kB / 353.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.008809, allocations: 19.78 kB / 353.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.008954, allocations: 70.83 kB / 353.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008957, allocations: 0 / 353.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.00896, allocations: 0 / 353.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.008965, allocations: 0 / 353.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.009278, allocations: 306 kB / 354.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.009281, allocations: 0 / 354.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.009332, allocations: 11.98 kB / 354.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.009336, allocations: 3.938 kB / 354.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.009342, allocations: 4 kB / 354.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009344, allocations: 4 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.009346, allocations: 0 / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.009488, allocations: 211.8 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.009503, allocations: 11.95 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.009519, allocations: 0 / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.009577, allocations: 4 kB / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.009622, allocations: 7.922 kB / 354.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.009628, allocations: 4.188 kB / 354.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.009717, allocations: 171.1 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009717, allocations: 0 / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.009996, allocations: 19.92 kB / 354.7 MB, free: 3.109 MB / 282.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.001229/0.01122, allocations: 384.3 kB / 355 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.01135, allocations: 23.69 kB / 355.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.01136, allocations: 8 kB / 355.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.01139, allocations: 27.59 kB / 355.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.01174, allocations: 25.11 kB / 355.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.01226, allocations: 206.6 kB / 355.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.01232, allocations: 63.34 kB / 355.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.01237, allocations: 7.984 kB / 355.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.01244, allocations: 82.2 kB / 355.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.01244, allocations: 4 kB / 355.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of Templates: time 0.004523/0.01697, allocations: 1.273 MB / 356.8 MB, free: 1.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.195507291238755]