Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001052/0.001052, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001011/0.001011, allocations: 161 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.057/1.057, 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.2695/0.2695, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.721e-05, allocations: 2.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002109/0.002127, allocations: 1.707 MB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000579/0.002706, allocations: 0.7985 MB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.002742, allocations: 0 / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.002978, allocations: 31.78 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.00317, allocations: 35.83 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.003174, allocations: 0 / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003316, allocations: 39.83 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.003359, allocations: 4.047 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.003389, allocations: 11.88 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.003433, allocations: 19.97 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.003444, allocations: 0 / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.003489, allocations: 12 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.00353, allocations: 11.94 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.003553, allocations: 15.92 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003665, allocations: 51.72 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003667, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003668, allocations: 4 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.003671, allocations: 3.938 kB / 380.8 MB, free: 15.87 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002826/0.003954, allocations: 388.3 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.003992, allocations: 20.02 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.004027, allocations: 12.89 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.00412, allocations: 124.5 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004129, allocations: 384 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00414, allocations: 4.375 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.004259, allocations: 112.3 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004267, allocations: 192 / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004277, allocations: 4.359 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.004321, allocations: 24.36 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.004355, allocations: 23.86 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.004849, allocations: 1.203 MB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.004933, allocations: 273.5 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.004965, allocations: 126.9 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.004991, allocations: 119.2 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.005034, allocations: 160.6 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.005035, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.411e-05/0.005089, allocations: 37.59 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.005138, allocations: 174.6 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.005283, allocations: 243 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.005292, allocations: 29.69 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.005371, allocations: 206.2 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.005374, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.005417, allocations: 59.25 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.005526, allocations: 0.4923 MB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.005547, allocations: 12 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.005637, allocations: 196.3 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.005774, allocations: 229.5 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005776, allocations: 3.938 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001873/0.005963, allocations: 169.7 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005976, allocations: 8 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.005983, allocations: 4 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.006003, allocations: 11.94 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.006088, allocations: 39.86 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.006097, allocations: 8 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.006147, allocations: 31.78 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.006155, allocations: 8 kB / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.667e-05/0.006242, allocations: 287.7 kB / 385.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.00629, allocations: 164.9 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.006339, allocations: 152.7 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.556e-05/0.006394, allocations: 272 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.757e-05/0.006452, allocations: 276.1 kB / 386.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-05/0.006507, allocations: 268.1 kB / 386.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.006678, allocations: 0.5116 MB / 387.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.006711, allocations: 148.9 kB / 387.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.006741, allocations: 148.9 kB / 387.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.257e-05/0.006794, allocations: 268 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.006854, allocations: 264.1 kB / 388 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.566e-05/0.00692, allocations: 276 kB / 388.3 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.18e-05/0.006982, allocations: 272 kB / 388.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007133, allocations: 455.9 kB / 389 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.007177, allocations: 152.8 kB / 389.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.00725, allocations: 272 kB / 389.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.007312, allocations: 152.9 kB / 389.5 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.007379, allocations: 272 kB / 389.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.00741, allocations: 148.9 kB / 390 MB, free: 6.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.007474, allocations: 159.3 kB / 390.1 MB, free: 5.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007474, allocations: 0 / 390.1 MB, free: 5.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.007644, allocations: 16 kB / 390.1 MB, free: 5.902 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 (0): * Single equations (assignments): 0 * 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.0003967/0.008041, allocations: 309 kB / 390.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.008151, allocations: 71.47 kB / 390.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.008153, allocations: 4 kB / 390.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.008154, allocations: 0 / 390.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.008446, allocations: 0.7178 MB / 391.2 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.008698, allocations: 281.3 kB / 391.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.008736, allocations: 67.83 kB / 391.6 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.237e-05/0.008818, allocations: 49.08 kB / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.008839, allocations: 16.44 kB / 391.6 MB, free: 4.379 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00884, allocations: 4 kB / 391.6 MB, free: 4.375 MB / 362.7 MB Notification: Performance of Templates: time 0.002257/0.0111, allocations: 0.7313 MB / 392.4 MB, free: 3.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.227305474691093]