Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001027/0.001027, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001089/0.001089, allocations: 170.5 kB / 24.91 MB, free: 9.188 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 0.9658/0.9658, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2381/0.2381, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.598e-05, allocations: 2.312 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.0021/0.002116, allocations: 1.69 MB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.002843, allocations: 0.5296 MB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.002887, allocations: 0 / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.003387, allocations: 459 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.003726, allocations: 291.2 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.003948, allocations: 123.6 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004127, allocations: 167.6 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.004205, allocations: 20.59 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.004306, allocations: 111.8 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.004459, allocations: 199.6 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.004474, allocations: 4 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.004531, allocations: 35.84 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.004616, allocations: 79.72 kB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.004649, allocations: 31.75 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.004837, allocations: 191.2 kB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004839, allocations: 4 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004839, allocations: 0 / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004843, allocations: 0 / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004021/0.005245, allocations: 0.5462 MB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.005277, allocations: 15.97 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.005314, allocations: 20.91 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005494, allocations: 242.1 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.005502, allocations: 8.312 kB / 328 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.005509, allocations: 384 / 328 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.005604, allocations: 58.94 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.00561, allocations: 4.188 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.005618, allocations: 4.125 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005623, allocations: 4 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.00564, allocations: 4 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.005843, allocations: 156.2 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.005891, allocations: 26.56 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.005904, allocations: 4.859 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.005921, allocations: 4 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.005946, allocations: 38.7 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005947, allocations: 4 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001211/0.006068, allocations: 65.73 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.006094, allocations: 51.41 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.006417, allocations: 0.5244 MB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006427, allocations: 29.7 kB / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.006482, allocations: 137.3 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.0065, allocations: 15.88 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.006524, allocations: 13.72 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.00661, allocations: 354.7 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.006618, allocations: 0 / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.006629, allocations: 11.97 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.006652, allocations: 12.86 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006653, allocations: 3.938 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.534e-05/0.006718, allocations: 65.66 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.006729, allocations: 7.938 kB / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006733, allocations: 0 / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.006742, allocations: 0 / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.006798, allocations: 11.98 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006801, allocations: 3.984 kB / 329.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.006824, allocations: 3.938 kB / 329.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.00683, allocations: 4 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.366e-05/0.006894, allocations: 116.7 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.006921, allocations: 23.97 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.00702, allocations: 84.98 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007021, allocations: 3.938 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.007023, allocations: 4 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.007025, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.007141, allocations: 133.8 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007142, allocations: 0 / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.007165, allocations: 4 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.007168, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.007173, allocations: 7.984 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007174, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.007175, allocations: 3.938 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.56e-05/0.007271, allocations: 159.5 kB / 330.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.007294, allocations: 39.7 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007306, allocations: 0 / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.007342, allocations: 4 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.007353, allocations: 3.938 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.007355, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.007552, allocations: 283.2 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007552, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.007691, allocations: 23.98 kB / 330.5 MB, free: 2.199 MB / 298.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 (3): * Single equations (assignments): 3 * 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.0008809/0.008572, allocations: 427.4 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.012e-05/0.008632, allocations: 16.84 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.008637, allocations: 8 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.00865, allocations: 12.8 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.008826, allocations: 28.95 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.009359, allocations: 0.5773 MB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.009495, allocations: 115.3 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.695e-05/0.009522, allocations: 7.984 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.009573, allocations: 59.38 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009574, allocations: 0 / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of Templates: time 0.003608/0.01318, allocations: 1.267 MB / 333 MB, free: 15.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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: 2.7897704639472067]