Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.0009624/0.0009624, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.000896/0.000896, allocations: 169.3 kB / 24.25 MB, free: 312 kB / 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.9996/0.9996, allocations: 158.6 MB / 186 MB, free: 2.406 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.1397/0.1397, allocations: 32.37 MB / 270.7 MB, free: 14.83 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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.336e-05, allocations: 4.281 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002053/0.002076, allocations: 1.653 MB / 349.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.002702, allocations: 319.4 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.00276, allocations: 0 / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.0032, allocations: 455 kB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.003594, allocations: 259.4 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.003801, allocations: 103.7 kB / 350.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.003961, allocations: 159.6 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.004057, allocations: 16.17 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.004148, allocations: 115.8 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.004307, allocations: 235.6 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.004326, allocations: 0 / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.00439, allocations: 39.91 kB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.004476, allocations: 79.72 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.004527, allocations: 35.75 kB / 351.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.004708, allocations: 199.2 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004711, allocations: 0 / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004711, allocations: 0 / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004716, allocations: 0 / 351.3 MB, free: 6.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004679/0.005184, allocations: 0.6776 MB / 352 MB, free: 5.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005222, allocations: 16.02 kB / 352 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.005283, allocations: 44.66 kB / 352 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.005493, allocations: 244.8 kB / 352.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005504, allocations: 4.375 kB / 352.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.005524, allocations: 4.375 kB / 352.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.005638, allocations: 54.95 kB / 352.3 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.005651, allocations: 12.17 kB / 352.4 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.00566, allocations: 3.938 kB / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005668, allocations: 0 / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.005698, allocations: 8 kB / 352.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.006024, allocations: 427.6 kB / 352.8 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.00618, allocations: 39 kB / 352.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.006209, allocations: 19.77 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.00623, allocations: 0 / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.006248, allocations: 33.39 kB / 352.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.00625, allocations: 4 kB / 352.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003823/0.006632, allocations: 184.7 kB / 353.1 MB, free: 4.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.006658, allocations: 51.41 kB / 353.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.007006, allocations: 0.6276 MB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007016, allocations: 25.7 kB / 353.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.007144, allocations: 274.8 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.007165, allocations: 23.8 kB / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.007193, allocations: 23.36 kB / 354.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.007268, allocations: 0.5547 MB / 354.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.007284, allocations: 4 kB / 354.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.007298, allocations: 7.984 kB / 354.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.007327, allocations: 23.88 kB / 354.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007328, allocations: 0 / 354.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.877e-05/0.007417, allocations: 101.4 kB / 354.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.007429, allocations: 7.938 kB / 354.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007434, allocations: 3.938 kB / 354.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007447, allocations: 288 / 354.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.00749, allocations: 8 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.007496, allocations: 0 / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.007519, allocations: 7.984 kB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007525, allocations: 0 / 354.8 MB, free: 2.422 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.387e-05/0.007579, allocations: 168.5 kB / 355 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.007605, allocations: 47.7 kB / 355 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.007714, allocations: 89.12 kB / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007716, allocations: 0 / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.007719, allocations: 0 / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.007722, allocations: 0 / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.007997, allocations: 469.3 kB / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007998, allocations: 0 / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.008029, allocations: 12 kB / 355.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008031, allocations: 4 kB / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.008037, allocations: 4 kB / 355.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.00804, allocations: 3.984 kB / 355.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008041, allocations: 0 / 355.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.276e-05/0.008124, allocations: 251.7 kB / 355.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.008142, allocations: 31.72 kB / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.008156, allocations: 0 / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.008189, allocations: 4 kB / 355.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.008218, allocations: 3.984 kB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.008221, allocations: 4 kB / 355.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.008406, allocations: 418.8 kB / 356.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.008406, allocations: 4 kB / 356.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.008611, allocations: 31.88 kB / 356.3 MB, free: 0.832 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.0007731/0.009385, allocations: 370.9 kB / 356.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.565e-05/0.00947, allocations: 39.55 kB / 356.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009472, allocations: 4 kB / 356.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.009489, allocations: 19.69 kB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.009729, allocations: 25.89 kB / 356.7 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.01035, allocations: 0.5743 MB / 357.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01045, allocations: 115.3 kB / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01049, allocations: 7.984 kB / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.01052, allocations: 16.5 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01053, allocations: 0 / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003859/0.01438, allocations: 1.355 MB / 358.8 MB, free: 14.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.1288303670007735]