Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.001025/0.001025, 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.001846/0.001846, allocations: 171.8 kB / 24.84 MB, free: 8.926 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.071/1.071, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.1892/0.1892, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.CombiTable1D.Test15,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.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.CombiTable1D.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.255e-05, allocations: 6.25 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.003769/0.003812, allocations: 1.591 MB / 350.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.004586, allocations: 327.4 kB / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.004683, allocations: 3.938 kB / 350.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.005053, allocations: 75.77 kB / 350.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.005333, allocations: 63.73 kB / 351 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.005684, allocations: 91.69 kB / 351.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.005896, allocations: 71.81 kB / 351.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.006026, allocations: 8 kB / 351.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.006134, allocations: 43.89 kB / 351.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.006284, allocations: 47.88 kB / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.006309, allocations: 4 kB / 351.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.006416, allocations: 39.86 kB / 351.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.006481, allocations: 19.92 kB / 351.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.006514, allocations: 7.938 kB / 351.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.006723, allocations: 79.72 kB / 351.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006728, allocations: 0 / 351.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.00673, allocations: 0 / 351.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.006737, allocations: 0 / 351.4 MB, free: 6.711 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.0004973/0.007234, allocations: 435.9 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.007279, allocations: 12.03 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.007325, allocations: 8.891 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.00749, allocations: 140.4 kB / 352 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.007503, allocations: 384 / 352 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.007526, allocations: 4.375 kB / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.00765, allocations: 50.95 kB / 352 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007662, allocations: 192 / 352 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.007669, allocations: 8.125 kB / 352 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.007675, allocations: 0 / 352 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.0077, allocations: 11.98 kB / 352 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.007983, allocations: 264.3 kB / 352.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.008168, allocations: 47.03 kB / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.008192, allocations: 7.688 kB / 352.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.008212, allocations: 0 / 352.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.008237, allocations: 41.42 kB / 352.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.008239, allocations: 0 / 352.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003712/0.008611, allocations: 89.67 kB / 352.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.008641, allocations: 51.41 kB / 352.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.008767, allocations: 228 kB / 352.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.008773, allocations: 29.7 kB / 352.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.008818, allocations: 154.8 kB / 352.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.008843, allocations: 11.84 kB / 352.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.008883, allocations: 27.36 kB / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.008955, allocations: 0.4962 MB / 353.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.008971, allocations: 3.938 kB / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.008988, allocations: 11.98 kB / 353.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.009027, allocations: 19.69 kB / 353.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009029, allocations: 0 / 353.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.00914, allocations: 61.53 kB / 353.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.009157, allocations: 12 kB / 353.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.009162, allocations: 3.938 kB / 353.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.009174, allocations: 0 / 353.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.009228, allocations: 15.94 kB / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.00923, allocations: 0 / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.009258, allocations: 7.984 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.009264, allocations: 0 / 353.6 MB, free: 4.293 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 5.601e-05/0.00932, allocations: 156.6 kB / 353.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.009351, allocations: 11.89 kB / 353.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.009468, allocations: 66.39 kB / 353.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.00947, allocations: 4 kB / 353.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.009473, allocations: 8.062 kB / 353.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009476, allocations: 0 / 353.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.009737, allocations: 302 kB / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009739, allocations: 0 / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.009781, allocations: 8 kB / 354.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.009785, allocations: 0 / 354.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.009792, allocations: 4 kB / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009794, allocations: 0 / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.009796, allocations: 0 / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.009908, allocations: 215.7 kB / 354.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.009922, allocations: 19.94 kB / 354.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.009935, allocations: 4 kB / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.009991, allocations: 0 / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.01003, allocations: 4 kB / 354.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.01003, allocations: 3.984 kB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.0101, allocations: 156 kB / 354.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0101, allocations: 0 / 354.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01036, allocations: 15.98 kB / 354.5 MB, free: 3.266 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.001055/0.01142, allocations: 378.1 kB / 354.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.01152, allocations: 23.69 kB / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01152, allocations: 7.875 kB / 354.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.01155, allocations: 23.67 kB / 355 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.01186, allocations: 29.41 kB / 355 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.01226, allocations: 190.2 kB / 355.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.0123, allocations: 71.33 kB / 355.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.01235, allocations: 7.984 kB / 355.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.01241, allocations: 78.19 kB / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01241, allocations: 0 / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of Templates: time 0.004215/0.01663, allocations: 1.297 MB / 356.6 MB, free: 1.223 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.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.4031262802891433]