Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001226/0.001226, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.00142/0.00142, allocations: 161.5 kB / 25.61 MB, free: 8.594 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.9567/0.9567, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1403/0.1403, allocations: 34.24 MB / 296.8 MB, free: 13.92 MB / 282.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.116e-05, allocations: 3.188 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002245/0.002267, allocations: 1.709 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.002991, allocations: 0.5568 MB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.00305, allocations: 4 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.003265, allocations: 59.72 kB / 381.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.003505, allocations: 107.5 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.003844, allocations: 171.5 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.003977, allocations: 91.75 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.004065, allocations: 20.16 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.004127, allocations: 47.89 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.004209, allocations: 51.86 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004223, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.004306, allocations: 51.92 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.004358, allocations: 27.91 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.004382, allocations: 15.94 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.004526, allocations: 103.5 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004528, allocations: 4 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004529, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004533, allocations: 0 / 382.3 MB, free: 20.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003171/0.00485, allocations: 455.9 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.004881, allocations: 8.031 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.004913, allocations: 12.89 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.005019, allocations: 144.4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.005027, allocations: 384 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005044, allocations: 8.312 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.005138, allocations: 62.94 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005147, allocations: 192 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.005156, allocations: 12.12 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005161, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.005189, allocations: 15.98 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.005424, allocations: 280.2 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.005547, allocations: 51.03 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.005565, allocations: 11.69 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.00558, allocations: 7.922 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.005595, allocations: 37.42 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005596, allocations: 4 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000545/0.006141, allocations: 221.3 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.006163, allocations: 55.41 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.006252, allocations: 219.2 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.006259, allocations: 25.7 kB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.006293, allocations: 158.8 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.00632, allocations: 35.69 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.006362, allocations: 35.36 kB / 384.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.006406, allocations: 0.4961 MB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.006429, allocations: 20.55 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.006451, allocations: 11.94 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.006506, allocations: 51.59 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.006506, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001075/0.006614, allocations: 85.59 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.006624, allocations: 4 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006628, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.006637, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.006713, allocations: 35.91 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006715, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.006747, allocations: 8 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.006754, allocations: 0 / 384.9 MB, free: 17.61 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 (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 4.624e-05/0.0068, allocations: 164.5 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.006831, allocations: 15.91 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.006975, allocations: 103 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006978, allocations: 4 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006979, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006982, allocations: 3.938 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.007267, allocations: 389.2 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007269, allocations: 4 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.007331, allocations: 23.92 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007334, allocations: 4 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00734, allocations: 0 / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007341, allocations: 0 / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007343, allocations: 4 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.007453, allocations: 267.5 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.007463, allocations: 11.91 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.007477, allocations: 4 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.007543, allocations: 12.02 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.007574, allocations: 15.92 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.007581, allocations: 0 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.007626, allocations: 168 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007626, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.00787, allocations: 27.94 kB / 386.1 MB, free: 16.33 MB / 314.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.0009662/0.008836, allocations: 437 kB / 386.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.008939, allocations: 55.59 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00894, allocations: 7.938 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.008979, allocations: 35.61 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.009244, allocations: 23.03 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.009573, allocations: 274.3 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.009609, allocations: 83.19 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.00966, allocations: 20.59 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.009716, allocations: 82.2 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009717, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003526/0.01324, allocations: 1.821 MB / 388.9 MB, free: 13.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.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.040932255797088]