Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001977/0.001977, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002411/0.002411, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2366/0.2366, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 0.4914 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1726, allocations: 66.01 MB / 0.5559 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00545/0.1781, allocations: 1.613 MB / 0.5574 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.18, allocations: 0.551 MB / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.1801, allocations: 0 / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.181, allocations: 447.1 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008145/0.1818, allocations: 303.2 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.1825, allocations: 119.3 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1829, allocations: 171.6 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.183, allocations: 11.98 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.1833, allocations: 111.8 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1837, allocations: 247.5 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1837, allocations: 4 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1838, allocations: 27.88 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.184, allocations: 87.67 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1842, allocations: 95.06 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.1847, allocations: 262.6 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1847, allocations: 4 kB / 0.5598 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1847, allocations: 0 / 0.5598 GB, free: 1.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1847, allocations: 0 / 0.5598 GB, free: 1.281 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001354/0.1861, allocations: 0.649 MB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.1861, allocations: 12.03 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1862, allocations: 44.66 kB / 0.5605 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.1868, allocations: 292.7 kB / 0.5608 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1868, allocations: 4.375 kB / 0.5608 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1868, allocations: 4.375 kB / 0.5608 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1871, allocations: 57.8 kB / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1871, allocations: 0 / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1871, allocations: 0 / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1871, allocations: 0 / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1874, allocations: 35.97 kB / 0.5609 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.1882, allocations: 384.6 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1884, allocations: 46.55 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1886, allocations: 20.94 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1886, allocations: 0 / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.1886, allocations: 30.56 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.634e-06/0.1886, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007199/0.1894, allocations: 125.3 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1894, allocations: 55.41 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.191, allocations: 0.8613 MB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.191, allocations: 25.7 kB / 0.5624 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.1913, allocations: 212.1 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1914, allocations: 7.938 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.1914, allocations: 17.72 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003243/0.1917, allocations: 362.7 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1919, allocations: 15.98 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.192, allocations: 16.17 kB / 0.563 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.1923, allocations: 44.84 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1923, allocations: 0 / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004669/0.1927, allocations: 117.3 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1928, allocations: 8 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1928, allocations: 0 / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1928, allocations: 0 / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1929, allocations: 8 kB / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1929, allocations: 0 / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1931, allocations: 7.984 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1931, allocations: 0 / 0.5631 GB, free: 13.62 MB / 430.1 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 (3): * Single equations (assignments): 3 * 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 0.0003651/0.1934, allocations: 215.9 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1936, allocations: 51.7 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.194, allocations: 120.9 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.194, allocations: 0 / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.194, allocations: 4 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.194, allocations: 4 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.1945, allocations: 285.5 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1946, allocations: 3.984 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1947, allocations: 8 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1947, allocations: 0 / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1947, allocations: 4 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.1947, allocations: 4 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1947, allocations: 0 / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.1952, allocations: 207.1 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1954, allocations: 112.8 kB / 0.5641 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.1954, allocations: 0 / 0.5641 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.1956, allocations: 15.92 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1957, allocations: 4 kB / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1957, allocations: 0 / 0.5641 GB, free: 12.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.1969, allocations: 0.655 MB / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1969, allocations: 0 / 0.5648 GB, free: 11.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004726/0.1974, allocations: 16 kB / 0.5648 GB, free: 11.83 MB / 430.1 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 (3): * Single equations (assignments): 3 * 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.002148/0.1995, allocations: 362.9 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1999, allocations: 43.89 kB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1999, allocations: 0 / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2, allocations: 19.92 kB / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.2007, allocations: 29.95 kB / 0.5652 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2029, allocations: 0.7905 MB / 0.566 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.2038, allocations: 0.8182 MB / 0.5668 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.2038, allocations: 7.75 kB / 0.5668 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.2039, allocations: 15.44 kB / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2039, allocations: 0 / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of Templates: time 0.008984/0.2129, allocations: 1.28 MB / 0.5681 GB, free: 8.551 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.300752531737089]