Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.001235/0.001235, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001142/0.001142, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.967/0.967, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1346/0.1346, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.417e-05, allocations: 8.219 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003189/0.003223, allocations: 1.599 MB / 349.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.003933, allocations: 331.4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.004006, allocations: 0 / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.004304, allocations: 31.83 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.004542, allocations: 39.73 kB / 349.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.004839, allocations: 87.8 kB / 349.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005004, allocations: 55.78 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005126, allocations: 19.94 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.005196, allocations: 27.89 kB / 349.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.005258, allocations: 12 kB / 349.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.005279, allocations: 3.938 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.005369, allocations: 27.98 kB / 349.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.005429, allocations: 11.98 kB / 349.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.005465, allocations: 15.92 kB / 349.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.005657, allocations: 63.75 kB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.005661, allocations: 0 / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005663, allocations: 0 / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.005668, allocations: 0 / 350 MB, free: 7.117 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.0004635/0.006132, allocations: 420.1 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.00619, allocations: 12.03 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.006249, allocations: 8.891 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.00641, allocations: 140.3 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.006422, allocations: 384 / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.006456, allocations: 4.375 kB / 350.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.00659, allocations: 54.95 kB / 350.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.006603, allocations: 192 / 350.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.006617, allocations: 4.125 kB / 350.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.00663, allocations: 0 / 350.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.006671, allocations: 11.92 kB / 350.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.007015, allocations: 271.9 kB / 350.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.007225, allocations: 47.05 kB / 350.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.007251, allocations: 7.688 kB / 350.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.00728, allocations: 8.016 kB / 351 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.007299, allocations: 41.33 kB / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.0073, allocations: 0 / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004183/0.007719, allocations: 97.47 kB / 351.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.007742, allocations: 51.41 kB / 351.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007846, allocations: 196.2 kB / 351.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.007855, allocations: 29.7 kB / 351.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.0079, allocations: 150.8 kB / 351.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.007924, allocations: 15.91 kB / 351.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.00796, allocations: 19.38 kB / 351.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.008022, allocations: 0.4923 MB / 352 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.008044, allocations: 8 kB / 352 MB, free: 4.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.008062, allocations: 7.984 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.008109, allocations: 23.88 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00811, allocations: 4 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.00821, allocations: 61.52 kB / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.008226, allocations: 12 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.008232, allocations: 0 / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.008252, allocations: 0 / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.00831, allocations: 12 kB / 352.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008316, allocations: 3.938 kB / 352.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.008342, allocations: 4 kB / 352.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.008348, allocations: 3.984 kB / 352.2 MB, free: 4.723 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 6.471e-05/0.008413, allocations: 152.6 kB / 352.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.008445, allocations: 15.89 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.008591, allocations: 66.09 kB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008594, allocations: 4 kB / 352.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.008599, allocations: 3.984 kB / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008602, allocations: 0 / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.008868, allocations: 317.4 kB / 352.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.008871, allocations: 288 / 352.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.008913, allocations: 8 kB / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008916, allocations: 0 / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.008925, allocations: 11.92 kB / 352.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008927, allocations: 192 / 352.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008928, allocations: 0 / 352.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.009034, allocations: 215.8 kB / 353 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.009044, allocations: 11.95 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.009058, allocations: 0 / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.009109, allocations: 0 / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.009148, allocations: 11.98 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.009154, allocations: 0 / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.009208, allocations: 145.5 kB / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009208, allocations: 0 / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.009477, allocations: 19.94 kB / 353.1 MB, free: 3.684 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.001068/0.01055, allocations: 370 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01067, allocations: 35.61 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01067, allocations: 0 / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.01069, allocations: 15.69 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.011, allocations: 31.8 kB / 353.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.01141, allocations: 173.9 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.01145, allocations: 63.34 kB / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.0115, allocations: 15.97 kB / 353.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.01154, allocations: 12.5 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01154, allocations: 0 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of Templates: time 0.003805/0.01534, allocations: 1.156 MB / 355 MB, free: 1.867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.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.3014656379818916]