Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001926/0.003042, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009898/0.0009898, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004874/0.005864, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9856/0.9856, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09299/1.079, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02767/0.3157, allocations: 13.23 MB / 292.6 MB, free: 6.453 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.412e-05, allocations: 7.156 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003924/0.003958, allocations: 2.069 MB / 296 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.005914, allocations: 1.032 MB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.006054, allocations: 4 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.006554, allocations: 262.9 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.007087, allocations: 290.8 kB / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.008149, allocations: 478.8 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.008607, allocations: 323 kB / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.008806, allocations: 50.86 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.009158, allocations: 258.5 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.009397, allocations: 163.6 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.009428, allocations: 8 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.009599, allocations: 79.84 kB / 298.9 MB, free: 176 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.009729, allocations: 87.64 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.0098, allocations: 39.81 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.01018, allocations: 243 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.151e-05/0.01021, allocations: 3.938 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01021, allocations: 0 / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.01023, allocations: 0 / 299.2 MB, free: 15.8 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007603/0.01099, allocations: 0.6045 MB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01103, allocations: 12.92 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.01109, allocations: 36.91 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.01141, allocations: 252 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.01142, allocations: 12.38 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.01145, allocations: 8.375 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.01162, allocations: 94.84 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01163, allocations: 8.156 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.01165, allocations: 8.359 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01166, allocations: 4.375 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.01172, allocations: 27.92 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.01217, allocations: 282.5 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.01228, allocations: 58.42 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.01231, allocations: 25.5 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.01234, allocations: 0 / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.01237, allocations: 34.56 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.01237, allocations: 0 / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005474/0.01292, allocations: 203.2 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.01296, allocations: 55.34 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.01335, allocations: 412.9 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.01336, allocations: 33.7 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.01345, allocations: 149.7 kB / 301.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.0135, allocations: 55.47 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.01355, allocations: 33.92 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01368, allocations: 354.7 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.01371, allocations: 19.92 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.01374, allocations: 16 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.01383, allocations: 53.59 kB / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01384, allocations: 0 / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001581/0.01399, allocations: 110.9 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01401, allocations: 4 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01402, allocations: 8 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01403, allocations: 0 / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01418, allocations: 31.98 kB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01418, allocations: 3.938 kB / 302.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.01424, allocations: 11.98 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.01424, allocations: 0 / 302.2 MB, free: 12.66 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 (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 9.157e-05/0.01434, allocations: 120.6 kB / 302.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.01439, allocations: 27.97 kB / 302.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.01463, allocations: 140.5 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01463, allocations: 4 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01463, allocations: 4 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01464, allocations: 3.938 kB / 302.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.01512, allocations: 374.3 kB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01512, allocations: 0 / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.01524, allocations: 39.91 kB / 302.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.01527, allocations: 31.7 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01527, allocations: 0 / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01528, allocations: 4 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01528, allocations: 0 / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.01529, allocations: 11.98 kB / 302.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.01546, allocations: 199.5 kB / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.01549, allocations: 11.94 kB / 303.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.01557, allocations: 0 / 303.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.01561, allocations: 15.97 kB / 303.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01562, allocations: 4 kB / 303.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.01582, allocations: 183.5 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01582, allocations: 0 / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01611, allocations: 47.94 kB / 303.4 MB, free: 11.41 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 (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.003357/0.01946, allocations: 0.9972 MB / 304.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.01965, allocations: 76.66 kB / 304.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/0.01966, allocations: 8 kB / 304.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.01972, allocations: 44.06 kB / 304.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.02019, allocations: 93.78 kB / 304.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.02135, allocations: 0.5742 MB / 305.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.826e-05/0.02144, allocations: 120.3 kB / 305.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.02157, allocations: 41.91 kB / 305.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.02172, allocations: 91.34 kB / 305.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.302e-06/0.02172, allocations: 0 / 305.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of Templates: time 0.005783/0.0275, allocations: 3.713 MB / 309.1 MB, free: 6.176 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.8862223867326975]