Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.00105/0.00105, 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.001003/0.001003, 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.8954/0.8954, 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.1392/0.1392, allocations: 32.36 MB / 270.4 MB, free: 14.72 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.798e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001661/0.001679, allocations: 1.602 MB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000396/0.002075, allocations: 323.4 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.002124, allocations: 4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.002369, allocations: 71.72 kB / 349.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.002531, allocations: 67.67 kB / 349.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.002703, allocations: 67.84 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.002854, allocations: 71.75 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.002968, allocations: 7.984 kB / 349.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.003029, allocations: 35.91 kB / 349.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.003126, allocations: 55.88 kB / 350 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.003144, allocations: 4 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.00321, allocations: 31.92 kB / 350 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.00326, allocations: 23.91 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.003289, allocations: 11.94 kB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.00343, allocations: 71.69 kB / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003433, allocations: 0 / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003434, allocations: 0 / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.00344, allocations: 0 / 350.1 MB, free: 6.996 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.0003699/0.00381, allocations: 428 kB / 350.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.003847, allocations: 12.03 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.003889, allocations: 8.891 kB / 350.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.004006, allocations: 148.4 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004016, allocations: 4.375 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.004037, allocations: 8.359 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.004138, allocations: 54.89 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.004147, allocations: 4.188 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004157, allocations: 4.125 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.004164, allocations: 3.938 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.004191, allocations: 4 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.004433, allocations: 283.8 kB / 351 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.004586, allocations: 46.98 kB / 351.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.004604, allocations: 7.688 kB / 351.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.004623, allocations: 7.938 kB / 351.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.00464, allocations: 37.39 kB / 351.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.004642, allocations: 3.984 kB / 351.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003309/0.004973, allocations: 97.52 kB / 351.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.004997, allocations: 59.39 kB / 351.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.005082, allocations: 221.9 kB / 351.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.005087, allocations: 29.7 kB / 351.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.005133, allocations: 154.8 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.005154, allocations: 15.91 kB / 351.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.00518, allocations: 23.38 kB / 351.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.005235, allocations: 0.4962 MB / 352.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.005251, allocations: 4 kB / 352.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.005263, allocations: 4 kB / 352.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.005294, allocations: 31.8 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005295, allocations: 0 / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.898e-05/0.005354, allocations: 65.55 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005366, allocations: 4 kB / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.00537, allocations: 7.984 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.005383, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.00542, allocations: 12 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.005426, allocations: 0 / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.005442, allocations: 4 kB / 352.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005447, allocations: 0 / 352.4 MB, free: 4.527 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.701e-05/0.005494, allocations: 160.6 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.005513, allocations: 19.83 kB / 352.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.641e-05/0.005609, allocations: 58.16 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.005612, allocations: 4 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.005617, allocations: 0 / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.005621, allocations: 3.984 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.005795, allocations: 337.3 kB / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005796, allocations: 3.938 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.005827, allocations: 15.98 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00583, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.005838, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00584, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.005841, allocations: 192 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.005916, allocations: 215.8 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.005923, allocations: 3.953 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.005936, allocations: 4 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.005964, allocations: 8 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.006003, allocations: 11.92 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.006006, allocations: 0 / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.006053, allocations: 164 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006053, allocations: 0 / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.006204, allocations: 19.94 kB / 353.4 MB, free: 3.441 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.0007361/0.00694, allocations: 365.6 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.007024, allocations: 31.67 kB / 353.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007025, allocations: 0 / 353.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.007043, allocations: 19.62 kB / 353.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.007241, allocations: 33.05 kB / 353.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.007505, allocations: 194.2 kB / 354 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.866e-05/0.007533, allocations: 67.34 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.007556, allocations: 11.97 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.007578, allocations: 12.5 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007578, allocations: 0 / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of Templates: time 0.002683/0.01026, allocations: 1.232 MB / 355.3 MB, free: 1.539 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.1463968036696315]