Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001075/0.001075, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001231/0.001231, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.018/1.018, allocations: 177.1 MB / 205.3 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.269/0.269, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.37e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002528/0.002552, allocations: 1.707 MB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.003151, allocations: 0.8024 MB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.003186, allocations: 0 / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.00342, allocations: 27.78 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.003638, allocations: 39.77 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.003643, allocations: 4 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.003807, allocations: 31.89 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.00385, allocations: 8 kB / 380.6 MB, free: 344 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.003891, allocations: 11.92 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.003946, allocations: 15.92 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.00396, allocations: 0 / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.004011, allocations: 15.98 kB / 380.7 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.004057, allocations: 12 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.004078, allocations: 7.938 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.00421, allocations: 59.64 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004212, allocations: 0 / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004213, allocations: 0 / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004218, allocations: 4 kB / 380.8 MB, free: 216 kB / 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.000363/0.004581, allocations: 396.3 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.004618, allocations: 12.03 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.004658, allocations: 8.875 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.004777, allocations: 120.5 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.004788, allocations: 4.375 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.004795, allocations: 384 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.004921, allocations: 112.3 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004928, allocations: 4.188 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004937, allocations: 384 / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.004982, allocations: 24.36 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.005018, allocations: 35.84 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.005528, allocations: 1.196 MB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.005615, allocations: 265.5 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.005648, allocations: 130.9 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.005676, allocations: 123.2 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.005723, allocations: 156.6 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005724, allocations: 0 / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.628e-05/0.005791, allocations: 45.58 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.00585, allocations: 174.6 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.006012, allocations: 243 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.00602, allocations: 33.64 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.006103, allocations: 210.2 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.006107, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.006154, allocations: 55.31 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.006278, allocations: 0.4884 MB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.006302, allocations: 15.98 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.006405, allocations: 197.7 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.00655, allocations: 229.4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006553, allocations: 4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001883/0.006741, allocations: 165.5 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006755, allocations: 11.98 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.006765, allocations: 8 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.006782, allocations: 7.938 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.00687, allocations: 43.92 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.006878, allocations: 4 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.00693, allocations: 23.78 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.006941, allocations: 16 kB / 385.3 MB, free: 11.28 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.801e-05/0.007029, allocations: 288 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.007077, allocations: 156.8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.007122, allocations: 156.7 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.00718, allocations: 276 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.337e-05/0.007233, allocations: 268.2 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.607e-05/0.007289, allocations: 272.1 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.007467, allocations: 0.5116 MB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.007501, allocations: 144.9 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.007536, allocations: 152.8 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-05/0.007592, allocations: 268.1 kB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.007651, allocations: 272.1 kB / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.007708, allocations: 272 kB / 388.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.565e-05/0.007764, allocations: 268 kB / 388.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.007888, allocations: 455.9 kB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.007931, allocations: 156.8 kB / 389.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.007998, allocations: 268 kB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.008052, allocations: 144.9 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.008118, allocations: 279.9 kB / 389.8 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.008148, allocations: 144.9 kB / 389.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.972e-05/0.008218, allocations: 163.3 kB / 390.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008218, allocations: 0 / 390.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.008404, allocations: 16 kB / 390.1 MB, free: 6.246 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.0004228/0.008826, allocations: 305.5 kB / 390.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.008935, allocations: 79.41 kB / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008936, allocations: 0 / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.008937, allocations: 1.25 kB / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.009215, allocations: 0.7139 MB / 391.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.00948, allocations: 281.3 kB / 391.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.009517, allocations: 71.83 kB / 391.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.663e-05/0.009604, allocations: 41.09 kB / 391.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.009628, allocations: 20.48 kB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009629, allocations: 0 / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of Templates: time 0.002169/0.0118, allocations: 0.732 MB / 392.3 MB, free: 4.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.115787313086912]