Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001512/0.001512, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001557/0.001557, allocations: 163.6 kB / 24.84 MB, free: 9.262 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.9318/0.9318, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1382/0.1382, allocations: 32.38 MB / 271.5 MB, free: 14.62 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.652e-05, allocations: 4.281 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002149/0.002175, allocations: 1.638 MB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005141/0.002689, allocations: 319.3 kB / 350.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.002751, allocations: 0 / 350.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.003153, allocations: 455 kB / 351.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.003398, allocations: 251.4 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.00361, allocations: 111.7 kB / 351.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.003818, allocations: 159.6 kB / 351.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.003914, allocations: 20.17 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.004024, allocations: 119.8 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.00419, allocations: 227.7 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.004209, allocations: 4 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.004287, allocations: 31.94 kB / 352.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.004381, allocations: 83.7 kB / 352.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.004413, allocations: 39.67 kB / 352.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.004632, allocations: 195.2 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004635, allocations: 0 / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004636, allocations: 0 / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.004643, allocations: 0 / 352.5 MB, free: 5.535 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.0005142/0.005157, allocations: 0.6854 MB / 353.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.005199, allocations: 8.031 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.00526, allocations: 44.66 kB / 353.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.005441, allocations: 252.8 kB / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005454, allocations: 384 / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.005476, allocations: 4.375 kB / 353.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.005602, allocations: 54.95 kB / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.005616, allocations: 4.188 kB / 353.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005623, allocations: 3.938 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.005629, allocations: 3.984 kB / 353.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.005649, allocations: 11.98 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.005912, allocations: 340.2 kB / 353.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.006046, allocations: 46.98 kB / 354 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.006059, allocations: 15.62 kB / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.006076, allocations: 0 / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.006091, allocations: 33.39 kB / 354 MB, free: 3.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.006092, allocations: 0 / 354 MB, free: 3.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002766/0.006368, allocations: 129.3 kB / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.006389, allocations: 51.41 kB / 354.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.006658, allocations: 0.5923 MB / 354.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.006665, allocations: 25.7 kB / 354.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.00678, allocations: 302.6 kB / 355.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.006802, allocations: 19.83 kB / 355.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.006831, allocations: 23.38 kB / 355.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.006914, allocations: 0.5508 MB / 355.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.006928, allocations: 7.984 kB / 355.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.00694, allocations: 8 kB / 355.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.006968, allocations: 19.69 kB / 355.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00697, allocations: 3.938 kB / 355.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.782e-05/0.007048, allocations: 89.41 kB / 355.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.007059, allocations: 4 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007063, allocations: 0 / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.007073, allocations: 0 / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.007119, allocations: 19.94 kB / 355.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.007122, allocations: 3.984 kB / 355.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.007145, allocations: 0 / 355.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.00715, allocations: 4 kB / 355.9 MB, free: 2 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.933e-05/0.007209, allocations: 160.5 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.007241, allocations: 43.72 kB / 356.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.00736, allocations: 93.36 kB / 356.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.007362, allocations: 0 / 356.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.007364, allocations: 4.062 kB / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007368, allocations: 0 / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.007613, allocations: 393.8 kB / 356.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007615, allocations: 0 / 356.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.007643, allocations: 8 kB / 356.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.007645, allocations: 0 / 356.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.00765, allocations: 4 kB / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007652, allocations: 3.938 kB / 356.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007654, allocations: 4 kB / 356.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.486e-05/0.007749, allocations: 239.5 kB / 356.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.007772, allocations: 31.75 kB / 356.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.007788, allocations: 4 kB / 356.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.007825, allocations: 4 kB / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.00786, allocations: 4 kB / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007865, allocations: 3.984 kB / 356.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.008038, allocations: 390.7 kB / 357.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008038, allocations: 4 kB / 357.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.008224, allocations: 19.94 kB / 357.2 MB, free: 0.5469 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.0008911/0.009115, allocations: 376 kB / 357.6 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.009205, allocations: 35.61 kB / 357.6 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.009208, allocations: 0 / 357.6 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.009224, allocations: 15.69 kB / 357.7 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.009476, allocations: 42.03 kB / 357.7 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.01009, allocations: 0.5704 MB / 358.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.23e-05/0.01017, allocations: 115.2 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01021, allocations: 11.98 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.01027, allocations: 82.2 kB / 358.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01028, allocations: 0 / 358.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004085/0.01436, allocations: 1.467 MB / 359.9 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.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.184767808765173]