Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001437/0.001437, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001541/0.001541, allocations: 165.4 kB / 25.61 MB, free: 8.895 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 1.014/1.014, allocations: 177.1 MB / 206.1 MB, free: 4.512 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.1354/0.1354, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.656e-05, allocations: 6.141 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001885/0.001901, allocations: 1.681 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002943, allocations: 1.313 MB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.003008, allocations: 0 / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.003179, allocations: 23.73 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.003433, allocations: 95.53 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.003725, allocations: 175.4 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003848, allocations: 83.7 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.003923, allocations: 11.98 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.003973, allocations: 43.89 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.00406, allocations: 31.91 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.004073, allocations: 4 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.004206, allocations: 87.89 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.004257, allocations: 23.91 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.00428, allocations: 15.92 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.00447, allocations: 147.5 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004472, allocations: 0 / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004473, allocations: 0 / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004477, allocations: 0 / 381 MB, free: 21.82 MB / 314.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.0002947/0.004772, allocations: 436 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.004803, allocations: 19.98 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.004832, allocations: 8.891 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.004927, allocations: 148.4 kB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-06/0.004933, allocations: 384 / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.004949, allocations: 12.36 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.005038, allocations: 104 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005044, allocations: 192 / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.005051, allocations: 4.125 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.005055, allocations: 4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.005076, allocations: 7.984 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.005262, allocations: 276.4 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/0.005308, allocations: 31.06 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.005323, allocations: 19.77 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005336, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.005349, allocations: 45.33 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.00535, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.005614, allocations: 113.4 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.005634, allocations: 81.05 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.005701, allocations: 200.2 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.005708, allocations: 33.7 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.005735, allocations: 150.8 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.00575, allocations: 15.8 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.005775, allocations: 27.38 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.005817, allocations: 0.5 MB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.005831, allocations: 4 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.005859, allocations: 53.06 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.005892, allocations: 35.88 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.005893, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.633e-05/0.005959, allocations: 73.52 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.005968, allocations: 8.031 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.005971, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.005977, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.00603, allocations: 19.98 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.006032, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.006056, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.00606, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.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 3.824e-05/0.006098, allocations: 156.6 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.006121, allocations: 15.89 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.006212, allocations: 82.38 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.006214, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006215, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006218, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.00639, allocations: 322 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00639, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.006425, allocations: 19.92 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006427, allocations: 4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.006431, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006432, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006433, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.065e-05/0.006514, allocations: 223.8 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.006521, allocations: 7.938 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006532, allocations: 4 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.00657, allocations: 8 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.00659, allocations: 4.266 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006594, allocations: 4 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.006625, allocations: 153.1 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006625, allocations: 0 / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.006806, allocations: 39.88 kB / 384.4 MB, free: 18.1 MB / 314.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.0009334/0.007739, allocations: 0.4941 MB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.413e-05/0.007813, allocations: 31.67 kB / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007815, allocations: 0 / 385 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.007837, allocations: 31.61 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.008015, allocations: 31.08 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.008239, allocations: 192.2 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.223e-05/0.008261, allocations: 67.2 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.008299, allocations: 16.7 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.008355, allocations: 90.19 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008355, allocations: 4 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003007/0.01136, allocations: 2.226 MB / 387.6 MB, free: 15.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.2359541365876794]