Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001028/0.001028, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001271/0.001271, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9871/0.9871, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.285/0.285, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.995e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00269/0.00272, allocations: 1.716 MB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.003588, allocations: 0.5724 MB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.003655, allocations: 0 / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.003944, allocations: 71.66 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007435/0.004687, allocations: 95.47 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.005082, allocations: 179.5 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.005267, allocations: 91.81 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005381, allocations: 32.08 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.005451, allocations: 35.91 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005553, allocations: 47.88 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005571, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.005728, allocations: 51.98 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.005805, allocations: 23.91 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.005844, allocations: 27.86 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.006029, allocations: 95.59 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006033, allocations: 4 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.006034, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.00604, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004576/0.006497, allocations: 439.9 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006537, allocations: 12.03 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.006585, allocations: 8.891 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006768, allocations: 152.4 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.006778, allocations: 384 / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.006809, allocations: 12.33 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.006955, allocations: 66.92 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.006964, allocations: 192 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006978, allocations: 12.12 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.006986, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.007027, allocations: 15.92 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.007413, allocations: 299.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.007616, allocations: 55.02 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.007651, allocations: 19.67 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.007677, allocations: 7.984 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.0077, allocations: 37.52 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.007701, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000656/0.008357, allocations: 249.5 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.008388, allocations: 55.34 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.008526, allocations: 226.5 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.00854, allocations: 29.7 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.008611, allocations: 154.9 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.008647, allocations: 39.67 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.008687, allocations: 27.38 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.008812, allocations: 0.5 MB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.008847, allocations: 15.98 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.008876, allocations: 16 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.008946, allocations: 48 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008947, allocations: 3.938 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001275/0.009074, allocations: 97.47 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.00909, allocations: 4 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009095, allocations: 4 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.009116, allocations: 3.984 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.009191, allocations: 23.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009197, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.009226, allocations: 8 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.009235, allocations: 4 kB / 383.7 MB, free: 12.74 MB / 362.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 (11): * Single equations (assignments): 11 * 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 8.616e-05/0.009321, allocations: 160.5 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.009351, allocations: 15.91 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.00954, allocations: 114.3 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.009542, allocations: 8 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009545, allocations: 0 / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.009549, allocations: 0 / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.009908, allocations: 412.6 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.009912, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.009971, allocations: 23.98 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009975, allocations: 4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.009982, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.009986, allocations: 4.125 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.00999, allocations: 12.06 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.01016, allocations: 263.1 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.01017, allocations: 11.91 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.01019, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.01023, allocations: 7.938 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.01028, allocations: 11.97 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01029, allocations: 8 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.01037, allocations: 163.2 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.01056, allocations: 23.94 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009438/0.0115, allocations: 431.6 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01165, allocations: 63.59 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01165, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.01169, allocations: 39.61 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01193, allocations: 35.45 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.01236, allocations: 272.7 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.514e-05/0.01242, allocations: 71.33 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.01248, allocations: 28.45 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.01252, allocations: 16.5 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01252, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003698/0.01622, allocations: 1.666 MB / 387.5 MB, free: 8.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.311665242072195]