Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001396/0.001396, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00151/0.00151, allocations: 168.1 kB / 24.91 MB, free: 9.156 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.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.251/0.251, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.246e-05, allocations: 2.312 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002224/0.002236, allocations: 1.74 MB / 325 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003387, allocations: 1.297 MB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.003429, allocations: 0 / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.003597, allocations: 27.78 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.003828, allocations: 83.55 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.004043, allocations: 131.6 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004158, allocations: 75.7 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.004228, allocations: 12.61 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.004289, allocations: 39.91 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.004379, allocations: 23.91 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.004392, allocations: 8 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.00454, allocations: 99.81 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.004585, allocations: 19.91 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.004604, allocations: 15.92 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004779, allocations: 147.5 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004781, allocations: 4 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004781, allocations: 0 / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004785, allocations: 0 / 327 MB, free: 5.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002983/0.005083, allocations: 309.4 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.005111, allocations: 8.031 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.00514, allocations: 8.922 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.005266, allocations: 129.7 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.005273, allocations: 4.375 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.005298, allocations: 8.359 kB / 327.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.00541, allocations: 102.3 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005419, allocations: 8.141 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.005428, allocations: 8.125 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005434, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.005458, allocations: 11.92 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.005646, allocations: 160.3 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.005697, allocations: 30.56 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.005711, allocations: 8.859 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.005725, allocations: 0 / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.005746, allocations: 42.44 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.005747, allocations: 7.938 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002701/0.006017, allocations: 109.7 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.00605, allocations: 85.09 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.006133, allocations: 134.6 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006143, allocations: 29.7 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.006173, allocations: 88.12 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.006194, allocations: 23.8 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.006223, allocations: 25.7 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.006299, allocations: 318.8 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.006313, allocations: 4 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.006342, allocations: 51.41 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.006376, allocations: 24.84 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006377, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.487e-05/0.006452, allocations: 61.55 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.006465, allocations: 6.344 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.00647, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.006482, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.006564, allocations: 19.98 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006566, allocations: 0 / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.006595, allocations: 15.92 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.0066, allocations: 4.031 kB / 328.8 MB, free: 3.891 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 (7): * Single equations (assignments): 7 * 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.548e-05/0.006655, allocations: 112.7 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.006676, allocations: 11.92 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.006784, allocations: 70.69 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006787, allocations: 4 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006788, allocations: 0 / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006792, allocations: 0 / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.006984, allocations: 226.7 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006986, allocations: 4 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.007025, allocations: 19.98 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007027, allocations: 4 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.007031, allocations: 4 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007032, allocations: 0 / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007033, allocations: 0 / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.007112, allocations: 155.4 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.007121, allocations: 11.95 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.007133, allocations: 4 kB / 329.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.007176, allocations: 7.984 kB / 329.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.007201, allocations: 8.219 kB / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.007204, allocations: 0 / 329.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.778e-05/0.007232, allocations: 36.83 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007232, allocations: 0 / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.007391, allocations: 39.88 kB / 329.5 MB, free: 3.125 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001282/0.008673, allocations: 0.6209 MB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.008751, allocations: 36.83 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.008755, allocations: 0 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.008779, allocations: 24.78 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.008928, allocations: 27.86 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.009208, allocations: 194.6 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.009243, allocations: 63.34 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.009281, allocations: 12.25 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.009344, allocations: 63.36 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009345, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Templates: time 0.003383/0.01273, allocations: 2.132 MB / 332.7 MB, free: 244 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.9300301861949265]