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.001506/0.001506, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001698/0.001698, allocations: 161.7 kB / 24.27 MB, free: 172 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.519/1.519, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3957/0.3957, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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 1.923e-06/1.923e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.154e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004401/0.004433, allocations: 1.649 MB / 376.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.005488, allocations: 0.7831 MB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.005529, allocations: 0 / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.005804, allocations: 35.77 kB / 377.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.006043, allocations: 43.77 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.267e-05/0.006055, allocations: 0 / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.006213, allocations: 31.91 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.006251, allocations: 11.92 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.006292, allocations: 11.98 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.006367, allocations: 15.86 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.006383, allocations: 4 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.006434, allocations: 12 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.00649, allocations: 19.92 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.00652, allocations: 8 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.006677, allocations: 63.73 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.00668, allocations: 0 / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006681, allocations: 0 / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006687, allocations: 0 / 378 MB, free: 2.27 MB / 346.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.0004512/0.007138, allocations: 294 kB / 378.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007178, allocations: 8.031 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.007226, allocations: 8.891 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.007393, allocations: 129.7 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007407, allocations: 384 / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.007419, allocations: 4.375 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.007643, allocations: 123.3 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.007652, allocations: 4.188 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.00766, allocations: 384 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.007709, allocations: 24.36 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.007798, allocations: 51.78 kB / 378.6 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.008575, allocations: 0.8279 MB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.008703, allocations: 173.2 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.008754, allocations: 80.14 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.008798, allocations: 79.28 kB / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.434e-05/0.008872, allocations: 109.8 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.008873, allocations: 0 / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.66e-05/0.00897, allocations: 41.53 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.009054, allocations: 126.7 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.009288, allocations: 195.4 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.009308, allocations: 29.7 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.009429, allocations: 151.5 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.009432, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.009497, allocations: 45.64 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.00968, allocations: 322.8 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.009738, allocations: 35.92 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.009921, allocations: 149.2 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.01019, allocations: 204.8 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01019, allocations: 0 / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000358/0.01055, allocations: 205.2 kB / 381.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.01057, allocations: 10.5 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01057, allocations: 8 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.0106, allocations: 11.94 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01074, allocations: 39.91 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.01075, allocations: 7.938 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.01085, allocations: 27.84 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01086, allocations: 8 kB / 381.4 MB, free: 14.45 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 0.0001637/0.01103, allocations: 213 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.01112, allocations: 117 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.0112, allocations: 116.8 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/0.01131, allocations: 188.1 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001221/0.01143, allocations: 180.3 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001295/0.01156, allocations: 184.2 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.01197, allocations: 372.8 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.676e-05/0.01205, allocations: 101 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.01213, allocations: 108.9 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.01225, allocations: 180.3 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.01235, allocations: 180.2 kB / 383.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001052/0.01245, allocations: 188.2 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001017/0.01255, allocations: 180.2 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01277, allocations: 311.7 kB / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.01285, allocations: 112.9 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.01296, allocations: 184.2 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01307, allocations: 105 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.01318, allocations: 188.1 kB / 384.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.01324, allocations: 101 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.01337, allocations: 139.4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01337, allocations: 0 / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.01366, allocations: 12 kB / 384.8 MB, free: 10.88 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.0008431/0.0145, allocations: 282.4 kB / 385.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.01466, allocations: 71.84 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01466, allocations: 0 / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.01467, allocations: 3.938 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.01512, allocations: 471.6 kB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.01552, allocations: 251.4 kB / 385.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01562, allocations: 83.81 kB / 386 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.01581, allocations: 45.09 kB / 386 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.01585, allocations: 20.48 kB / 386 MB, free: 9.672 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01585, allocations: 4 kB / 386 MB, free: 9.668 MB / 362.7 MB Notification: Performance of Templates: time 0.003282/0.01913, allocations: 0.7291 MB / 386.8 MB, free: 8.949 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 4.751573901041411]