Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.001615/0.001615, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002056/0.002056, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.557/1.557, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2416/0.2416, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.543e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003242/0.003277, allocations: 1.572 MB / 348.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004602, allocations: 1.056 MB / 349.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.004676, allocations: 0 / 349.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.004951, allocations: 31.78 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.005204, allocations: 47.77 kB / 349.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.005516, allocations: 99.67 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.00567, allocations: 59.84 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.005779, allocations: 20.17 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.005868, allocations: 35.89 kB / 349.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.006054, allocations: 23.91 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.006081, allocations: 4 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.006229, allocations: 47.92 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.00628, allocations: 19.92 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.006326, allocations: 19.86 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.006592, allocations: 107.6 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.006595, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006597, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.006603, allocations: 4 kB / 350.1 MB, free: 6.648 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.0004693/0.007072, allocations: 309.9 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.007117, allocations: 8.031 kB / 350.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.007177, allocations: 16.88 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.007345, allocations: 129.7 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.007357, allocations: 4.375 kB / 350.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.007387, allocations: 4.375 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.007577, allocations: 114.4 kB / 350.6 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.007592, allocations: 192 / 350.6 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007606, allocations: 7.875 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.007611, allocations: 8 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007714, allocations: 35.97 kB / 350.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.008103, allocations: 324.6 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.008383, allocations: 85.16 kB / 351.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.00845, allocations: 33.73 kB / 351.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.00848, allocations: 4 kB / 351.1 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.008498, allocations: 34.55 kB / 351.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.008499, allocations: 4 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007311/0.00923, allocations: 233.2 kB / 351.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.009267, allocations: 106.8 kB / 351.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.009388, allocations: 145.6 kB / 351.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.0094, allocations: 25.7 kB / 351.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.009442, allocations: 92.14 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.009473, allocations: 35.69 kB / 351.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.009512, allocations: 21.72 kB / 351.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.009571, allocations: 326.8 kB / 352.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.009655, allocations: 31.98 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.009755, allocations: 76.25 kB / 352.2 MB, free: 4.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.009919, allocations: 93.61 kB / 352.3 MB, free: 4.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.00992, allocations: 0 / 352.3 MB, free: 4.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002243/0.01014, allocations: 129.7 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.01016, allocations: 8.031 kB / 352.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01017, allocations: 4 kB / 352.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01019, allocations: 0 / 352.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.01027, allocations: 19.98 kB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01028, allocations: 0 / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.01032, allocations: 4 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01034, allocations: 4 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 8.144e-05/0.01042, allocations: 133.7 kB / 352.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.01047, allocations: 7.953 kB / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.01077, allocations: 141.8 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01077, allocations: 4 kB / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01078, allocations: 0 / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01078, allocations: 0 / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.01136, allocations: 442.1 kB / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01136, allocations: 3.938 kB / 353.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.01144, allocations: 27.98 kB / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.01144, allocations: 320 / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01146, allocations: 4.031 kB / 353.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01146, allocations: 8 kB / 353.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.01147, allocations: 7.922 kB / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.01183, allocations: 295.7 kB / 353.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.01185, allocations: 7.953 kB / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.01187, allocations: 7.984 kB / 353.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01198, allocations: 4 kB / 353.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.01206, allocations: 11.92 kB / 353.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.01207, allocations: 8 kB / 353.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.01216, allocations: 107.3 kB / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01216, allocations: 0 / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.01254, allocations: 31.92 kB / 353.7 MB, free: 2.688 MB / 282.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 (10): * Single equations (assignments): 10 * 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.002301/0.01484, allocations: 485.5 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.0151, allocations: 83.89 kB / 354.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0151, allocations: 0 / 354.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.01519, allocations: 43.91 kB / 354.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.0157, allocations: 25.52 kB / 354.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.01627, allocations: 226.2 kB / 354.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.869e-05/0.01635, allocations: 79.39 kB / 354.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.01646, allocations: 28.45 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.01651, allocations: 20.5 kB / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01651, allocations: 0 / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Templates: time 0.005044/0.02155, allocations: 1.59 MB / 356.3 MB, free: 192 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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: 5.073352272040211]