Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.001343/0.001343, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001598/0.001598, allocations: 164 kB / 24.84 MB, free: 9.254 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.991/0.991, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1466/0.1466, allocations: 32.39 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.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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.406e-05, allocations: 9.344 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002147/0.002171, allocations: 1.58 MB / 350.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.002627, allocations: 315.4 kB / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.002679, allocations: 4 kB / 350.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.002884, allocations: 23.84 kB / 350.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.003046, allocations: 39.73 kB / 350.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.003223, allocations: 71.77 kB / 351 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003338, allocations: 59.78 kB / 351 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.003422, allocations: 7.984 kB / 351 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.003477, allocations: 27.92 kB / 351 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.003528, allocations: 23.91 kB / 351.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.003542, allocations: 0 / 351.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.003603, allocations: 27.98 kB / 351.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.003643, allocations: 11.94 kB / 351.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.003662, allocations: 4 kB / 351.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.00378, allocations: 75.67 kB / 351.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003782, allocations: 0 / 351.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003782, allocations: 3.938 kB / 351.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003787, allocations: 0 / 351.2 MB, free: 6.883 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.00026/0.004047, allocations: 404.2 kB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.004073, allocations: 12.03 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.0041, allocations: 8.891 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.004189, allocations: 140.4 kB / 351.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.004196, allocations: 384 / 351.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.004211, allocations: 12.36 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.809e-05/0.00428, allocations: 50.89 kB / 351.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.004286, allocations: 192 / 351.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004293, allocations: 12.12 kB / 351.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004297, allocations: 0 / 351.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.004315, allocations: 11.98 kB / 351.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.00449, allocations: 244.5 kB / 352.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.004605, allocations: 42.98 kB / 352.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.004618, allocations: 11.69 kB / 352.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004634, allocations: 0 / 352.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.00465, allocations: 41.33 kB / 352.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.004651, allocations: 3.984 kB / 352.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002515/0.004903, allocations: 89.55 kB / 352.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.004923, allocations: 51.41 kB / 352.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.004994, allocations: 200.5 kB / 352.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.004999, allocations: 25.7 kB / 352.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.005031, allocations: 146.9 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.005049, allocations: 15.88 kB / 352.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005074, allocations: 31.31 kB / 352.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.005121, allocations: 0.4884 MB / 353.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.005132, allocations: 4 kB / 353.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.005142, allocations: 4 kB / 353.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.005168, allocations: 23.62 kB / 353.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.005168, allocations: 0 / 353.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.857e-05/0.005227, allocations: 57.58 kB / 353.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005239, allocations: 8 kB / 353.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.005243, allocations: 4 kB / 353.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.005251, allocations: 0 / 353.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.005293, allocations: 11.98 kB / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005296, allocations: 0 / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.005313, allocations: 4 kB / 353.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005317, allocations: 0 / 353.3 MB, free: 4.559 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 4.504e-05/0.005362, allocations: 160.6 kB / 353.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.005381, allocations: 15.84 kB / 353.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.005466, allocations: 70.33 kB / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005468, allocations: 0 / 353.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00547, allocations: 4 kB / 353.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005474, allocations: 0 / 353.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.00563, allocations: 302 kB / 353.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.005631, allocations: 0 / 353.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.005658, allocations: 8 kB / 353.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00566, allocations: 0 / 353.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005664, allocations: 4 kB / 353.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005665, allocations: 0 / 353.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.005666, allocations: 0 / 353.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.005734, allocations: 203.8 kB / 354.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.005741, allocations: 11.94 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.005751, allocations: 8 kB / 354.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.005779, allocations: 0 / 354.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.005803, allocations: 4 kB / 354.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.005807, allocations: 3.984 kB / 354.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.005838, allocations: 153.8 kB / 354.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005838, allocations: 0 / 354.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.005988, allocations: 11.94 kB / 354.3 MB, free: 3.551 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.0007121/0.0067, allocations: 386.5 kB / 354.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.941e-05/0.00677, allocations: 31.67 kB / 354.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006772, allocations: 0 / 354.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.006788, allocations: 19.62 kB / 354.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.006976, allocations: 19.92 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.007233, allocations: 169.9 kB / 354.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.007263, allocations: 59.34 kB / 354.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.007291, allocations: 7.984 kB / 354.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.007338, allocations: 78.2 kB / 355 MB, free: 2.824 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007339, allocations: 0 / 355 MB, free: 2.824 MB / 282.7 MB Notification: Performance of Templates: time 0.003007/0.01035, allocations: 1.257 MB / 356.3 MB, free: 1.578 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/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.2347545879893005]