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.001157/0.001157, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001245/0.001245, allocations: 166 kB / 24.82 MB, free: 9.309 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.13/1.13, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3737/0.3737, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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 2.845e-06/2.845e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.989e-05, allocations: 2.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003969/0.004009, allocations: 1.702 MB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.00504, allocations: 0.8065 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.005109, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.005497, allocations: 27.8 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.005791, allocations: 47.75 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.37e-06/0.005796, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.005985, allocations: 35.84 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.006041, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006162, allocations: 19.91 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.0062, allocations: 11.98 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.006216, allocations: 0 / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.006279, allocations: 8 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.006344, allocations: 19.92 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.006367, allocations: 7.938 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.006531, allocations: 59.7 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006534, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.006536, allocations: 3.938 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.006541, allocations: 0 / 381.3 MB, free: 15.62 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.0004271/0.006968, allocations: 392.4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.007021, allocations: 8.031 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.00706, allocations: 12.88 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.007244, allocations: 124.5 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.007256, allocations: 4.375 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.007265, allocations: 4.312 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.007421, allocations: 112.3 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007431, allocations: 192 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00744, allocations: 384 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.007498, allocations: 28.3 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.007531, allocations: 27.86 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.008185, allocations: 1.181 MB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008298, allocations: 261.4 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.008348, allocations: 126.9 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.008391, allocations: 119.2 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.517e-05/0.008466, allocations: 164.6 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.008467, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.497e-05/0.008542, allocations: 33.66 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.008622, allocations: 178.5 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.008803, allocations: 243 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.008815, allocations: 25.7 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.008927, allocations: 214.2 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-06/0.008933, allocations: 7.984 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.008984, allocations: 47.31 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.00914, allocations: 0.5 MB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.009157, allocations: 11.98 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.009279, allocations: 197.7 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.009451, allocations: 229.5 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009453, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002049/0.009658, allocations: 157.5 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.009676, allocations: 8 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.009686, allocations: 4 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.009707, allocations: 8 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.009813, allocations: 35.92 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.009829, allocations: 19.86 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.009888, allocations: 23.84 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.009899, allocations: 8 kB / 385.7 MB, free: 10.74 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.0001529/0.01005, allocations: 291.9 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.01012, allocations: 156.8 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.379e-05/0.01021, allocations: 156.6 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/0.01031, allocations: 276 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.662e-05/0.01041, allocations: 276 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.594e-05/0.0105, allocations: 268.1 kB / 387.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.01079, allocations: 496.5 kB / 387.6 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-05/0.01084, allocations: 148.8 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01096, allocations: 148.9 kB / 387.9 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/0.01105, allocations: 272 kB / 388.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.01114, allocations: 268.1 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.454e-05/0.01122, allocations: 272.1 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002048/0.01143, allocations: 272 kB / 388.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.0116, allocations: 455.8 kB / 389.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.01167, allocations: 156.8 kB / 389.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.01177, allocations: 264.1 kB / 389.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.01184, allocations: 148.8 kB / 389.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.01195, allocations: 268.1 kB / 390.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.012, allocations: 152.8 kB / 390.4 MB, free: 5.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.01208, allocations: 155.3 kB / 390.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01208, allocations: 0 / 390.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.01226, allocations: 19.94 kB / 390.5 MB, free: 5.738 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.0007734/0.01304, allocations: 321.2 kB / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.01316, allocations: 67.47 kB / 390.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.01317, allocations: 0 / 390.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01317, allocations: 0 / 390.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01357, allocations: 0.7113 MB / 391.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.01393, allocations: 281.3 kB / 391.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.01398, allocations: 63.84 kB / 392 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.01405, allocations: 17.08 kB / 392 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.01411, allocations: 86.19 kB / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01411, allocations: 0 / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of Templates: time 0.002924/0.01703, allocations: 0.777 MB / 392.8 MB, free: 3.41 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.448989611584693]