Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.0009809/0.0009809, 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.001029/0.001029, 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 1.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.625 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.263/0.263, allocations: 34.25 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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.004e-05, allocations: 2.312 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002749/0.002779, allocations: 2.038 MB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.00409, allocations: 1.008 MB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004211, allocations: 0 / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.004699, allocations: 266.9 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.005143, allocations: 270.9 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.005863, allocations: 478.8 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.006211, allocations: 339 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.006377, allocations: 40.91 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.006552, allocations: 183.4 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.006757, allocations: 199.5 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.006785, allocations: 12 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.006919, allocations: 67.86 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.00703, allocations: 103.6 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.007086, allocations: 55.72 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.007399, allocations: 250.9 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007403, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007404, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.00741, allocations: 0 / 383.3 MB, free: 13.35 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006015/0.008012, allocations: 0.6854 MB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.00805, allocations: 8.031 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.008123, allocations: 56.61 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.008374, allocations: 262.8 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.008387, allocations: 16.25 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.008419, allocations: 16.33 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.008595, allocations: 98.91 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.008607, allocations: 4.188 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.008622, allocations: 8.125 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.00863, allocations: 4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.008705, allocations: 36.62 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.009219, allocations: 471.3 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.009332, allocations: 74.97 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.009367, allocations: 27.67 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.009395, allocations: 8 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.009419, allocations: 37.39 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.00942, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005907/0.01001, allocations: 329.2 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.01004, allocations: 51.41 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.01039, allocations: 482.7 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.01041, allocations: 25.7 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01053, allocations: 263.2 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.01058, allocations: 59.48 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.01062, allocations: 35.38 kB / 386.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.01077, allocations: 0.5391 MB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.01082, allocations: 27.89 kB / 386.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.01086, allocations: 31.98 kB / 386.9 MB, free: 9.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.01096, allocations: 77.86 kB / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01096, allocations: 0 / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002184/0.01118, allocations: 163.6 kB / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.0112, allocations: 7.938 kB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01121, allocations: 4 kB / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.01124, allocations: 0 / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.01137, allocations: 27.98 kB / 387.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.01138, allocations: 4 kB / 387.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.01142, allocations: 11.98 kB / 387.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01143, allocations: 4 kB / 387.2 MB, free: 9.242 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 (17): * Single equations (assignments): 17 * 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.918e-05/0.01152, allocations: 168.5 kB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.01157, allocations: 47.72 kB / 387.4 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.01183, allocations: 181.6 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01184, allocations: 7.984 kB / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01184, allocations: 0 / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01185, allocations: 0 / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.01241, allocations: 0.5694 MB / 388.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01242, allocations: 7.938 kB / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.01249, allocations: 31.98 kB / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01249, allocations: 0 / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.0125, allocations: 0 / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01251, allocations: 4 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01251, allocations: 0 / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.01274, allocations: 323.3 kB / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.01276, allocations: 27.77 kB / 388.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01278, allocations: 4 kB / 388.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.673e-05/0.01283, allocations: 4 kB / 388.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.01287, allocations: 19.97 kB / 388.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.01288, allocations: 4 kB / 388.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.0131, allocations: 327 kB / 388.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0131, allocations: 0 / 388.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.01331, allocations: 47.89 kB / 389 MB, free: 7.414 MB / 362.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 (17): * Single equations (assignments): 17 * 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.00157/0.01488, allocations: 0.6673 MB / 389.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.01506, allocations: 98.3 kB / 389.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.01506, allocations: 4 kB / 389.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.01512, allocations: 55.59 kB / 389.8 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.01546, allocations: 99.06 kB / 389.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.01623, allocations: 0.5745 MB / 390.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.263e-05/0.01632, allocations: 116.3 kB / 390.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.411e-05/0.0164, allocations: 41.89 kB / 390.6 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.01646, allocations: 36.48 kB / 390.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01646, allocations: 0 / 390.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of Templates: time 0.005912/0.02238, allocations: 3.348 MB / 394 MB, free: 2.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.3503072699531913]