Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001461/0.001461, allocations: 80.41 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.001717/0.001717, allocations: 172.4 kB / 25.61 MB, free: 8.914 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 1.025/1.025, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1607/0.1607, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 4 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.989e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003089/0.003118, allocations: 1.676 MB / 379 MB, free: 23.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.004014, allocations: 0.8104 MB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.004053, allocations: 0 / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.004293, allocations: 31.83 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.004492, allocations: 39.83 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.115e-06/0.004495, allocations: 0 / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.00463, allocations: 31.84 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.004668, allocations: 3.938 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.004759, allocations: 31.14 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.004788, allocations: 11.98 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.004798, allocations: 0 / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.004842, allocations: 8 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.004883, allocations: 19.92 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.004902, allocations: 7.938 kB / 380 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.005021, allocations: 55.7 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005023, allocations: 0 / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005024, allocations: 0 / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.005027, allocations: 0 / 380 MB, free: 22.85 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002451/0.005272, allocations: 400.3 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.005306, allocations: 19.98 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.005338, allocations: 8.891 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.005445, allocations: 124.5 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.005454, allocations: 384 / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.005462, allocations: 8.359 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.00557, allocations: 108.3 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005578, allocations: 4.172 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.005585, allocations: 384 / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.005629, allocations: 24.36 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.005665, allocations: 23.86 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.006017, allocations: 1.185 MB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.006065, allocations: 269.5 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.00608, allocations: 130.9 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.006091, allocations: 123.2 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.006113, allocations: 152.6 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.006114, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.491e-05/0.006169, allocations: 37.64 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.0062, allocations: 174.5 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.006337, allocations: 246.3 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-06/0.006341, allocations: 25.7 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.006407, allocations: 210.3 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.00641, allocations: 3.938 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.006459, allocations: 51.31 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.006523, allocations: 0.4962 MB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.006542, allocations: 11.98 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.006625, allocations: 200.4 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.006753, allocations: 229.4 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006755, allocations: 0 / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000207/0.006962, allocations: 161.6 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.006974, allocations: 4 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.006981, allocations: 8 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.006993, allocations: 4 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.007092, allocations: 35.92 kB / 384.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.007101, allocations: 15.92 kB / 384.4 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.007182, allocations: 31.78 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.007193, allocations: 8 kB / 384.5 MB, free: 17.96 MB / 314.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 5.722e-05/0.00725, allocations: 287.6 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.00729, allocations: 160.9 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.007321, allocations: 160.7 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.007342, allocations: 272 kB / 385.3 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.007365, allocations: 268 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.00739, allocations: 264.1 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.007525, allocations: 0.4927 MB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.00754, allocations: 144.9 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.007556, allocations: 156.8 kB / 386.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/0.007585, allocations: 264.1 kB / 386.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.007612, allocations: 264.1 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-05/0.007642, allocations: 276 kB / 387.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.134e-05/0.007673, allocations: 276.1 kB / 387.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.007753, allocations: 455.8 kB / 388.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.007781, allocations: 152.8 kB / 388.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.007822, allocations: 268 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.007884, allocations: 148.9 kB / 388.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.007918, allocations: 276 kB / 389 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.007934, allocations: 144.9 kB / 389.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.007995, allocations: 157.3 kB / 389.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007995, allocations: 0 / 389.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.008289, allocations: 19.88 kB / 389.3 MB, free: 12.96 MB / 314.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.0004506/0.008739, allocations: 311 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.008845, allocations: 71.45 kB / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008846, allocations: 0 / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.008847, allocations: 0 / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.009129, allocations: 0.7151 MB / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.009366, allocations: 281.7 kB / 390.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.0094, allocations: 67.69 kB / 390.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.009466, allocations: 17.14 kB / 390.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.009504, allocations: 82.2 kB / 390.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009505, allocations: 0 / 390.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Templates: time 0.002621/0.01213, allocations: 0.7806 MB / 391.6 MB, free: 10.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2221509870141745]