Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.0009043/0.0009043, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009261/0.0009261, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9495/0.9495, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2627/0.2627, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.97e-05, allocations: 5.297 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002179/0.002199, allocations: 1.714 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.002986, allocations: 0.5729 MB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.003047, allocations: 4 kB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.003279, allocations: 63.72 kB / 325.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.003596, allocations: 99.53 kB / 325.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.003951, allocations: 171.5 kB / 325.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.004101, allocations: 95.73 kB / 326 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.004188, allocations: 20.16 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.004252, allocations: 43.89 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.004337, allocations: 47.88 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.00435, allocations: 4 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.004443, allocations: 51.92 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.004501, allocations: 23.86 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.004527, allocations: 23.91 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004675, allocations: 103.6 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004676, allocations: 0 / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004677, allocations: 0 / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.004682, allocations: 0 / 326.3 MB, free: 6.656 MB / 298.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.0003244/0.005006, allocations: 329.4 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.005035, allocations: 8.031 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.005062, allocations: 4.938 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.005187, allocations: 142.3 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.005196, allocations: 4.375 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005215, allocations: 384 / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005319, allocations: 70.86 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.005334, allocations: 4.188 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.005342, allocations: 4.125 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.005347, allocations: 0 / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.005371, allocations: 12 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.005609, allocations: 198.9 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.005743, allocations: 34.56 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.00576, allocations: 8.859 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.005778, allocations: 4 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.0058, allocations: 34.5 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.005801, allocations: 0 / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004914/0.006292, allocations: 221.5 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.006323, allocations: 51.41 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.006422, allocations: 170.1 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006434, allocations: 29.7 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.006464, allocations: 92.11 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.006492, allocations: 39.62 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.006525, allocations: 25.7 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.006605, allocations: 330.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.006624, allocations: 12 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.006643, allocations: 8.875 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.006691, allocations: 44.69 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006693, allocations: 0.5625 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.745e-05/0.00677, allocations: 69.67 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.00678, allocations: 7.938 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006784, allocations: 0 / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006795, allocations: 0 / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.006856, allocations: 27.97 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006859, allocations: 4 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.006882, allocations: 8 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006888, allocations: 4 kB / 328.2 MB, free: 4.535 MB / 298.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 (11): * Single equations (assignments): 11 * 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.224e-05/0.00695, allocations: 120.5 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.006971, allocations: 15.97 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.007104, allocations: 92.98 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007105, allocations: 0 / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007107, allocations: 0 / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.007111, allocations: 3.984 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.007399, allocations: 288.3 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.007402, allocations: 4.031 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.007451, allocations: 23.98 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007453, allocations: 0 / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.007459, allocations: 0 / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.007462, allocations: 4 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.007464, allocations: 3.938 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.007569, allocations: 185.1 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.007579, allocations: 11.91 kB / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.007592, allocations: 4 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.007633, allocations: 15.98 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.00766, allocations: 11.92 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.007665, allocations: 0 / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.007702, allocations: 44.36 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007702, allocations: 3.938 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.007847, allocations: 27.98 kB / 329.1 MB, free: 3.617 MB / 298.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 (11): * Single equations (assignments): 11 * 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.001259/0.009106, allocations: 0.5766 MB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.009211, allocations: 48.78 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.009215, allocations: 3.938 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.009246, allocations: 32.78 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.009405, allocations: 23.97 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.009746, allocations: 265 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.009792, allocations: 79.34 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.009834, allocations: 12.5 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.009891, allocations: 67.3 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.009892, allocations: 4 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of Templates: time 0.003211/0.0131, allocations: 1.744 MB / 331.9 MB, free: 1.031 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.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: 2.8542184201069176]