Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001225/0.001225, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001346/0.001346, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9579/0.9579, 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.2205/0.2205, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.343e-05, allocations: 9.203 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003102/0.003125, allocations: 1.701 MB / 378.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.004094, allocations: 0.553 MB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.004165, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.004778, allocations: 455.1 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.005234, allocations: 291.2 kB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.005545, allocations: 143.5 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.005777, allocations: 175.6 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.005871, allocations: 12.22 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.00602, allocations: 127.7 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.006267, allocations: 243.6 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.006286, allocations: 8 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.006394, allocations: 51.91 kB / 380.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.006492, allocations: 83.72 kB / 380.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.006533, allocations: 39.73 kB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.006799, allocations: 219 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006802, allocations: 4 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006802, allocations: 0 / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.006806, allocations: 0 / 380.6 MB, free: 264 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006792/0.007485, allocations: 0.7048 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.007523, allocations: 8.031 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.007585, allocations: 48.66 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007805, allocations: 252.8 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.007816, allocations: 4.375 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.007838, allocations: 12.3 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.007957, allocations: 62.94 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007967, allocations: 4.188 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.007976, allocations: 8.062 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.007982, allocations: 0 / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.008016, allocations: 15.98 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.008407, allocations: 352.1 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.008554, allocations: 43.05 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.008577, allocations: 15.67 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.008599, allocations: 12.06 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.008625, allocations: 37.42 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.008626, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006633/0.009289, allocations: 257.1 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.009318, allocations: 51.41 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.009868, allocations: 0.604 MB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009885, allocations: 25.7 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.0101, allocations: 294.7 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.01014, allocations: 43.64 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.01019, allocations: 35.34 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.0104, allocations: 0.5507 MB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.01043, allocations: 15.98 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.01046, allocations: 19.86 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.01053, allocations: 39.67 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.01053, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001502/0.01068, allocations: 117.4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01069, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01069, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01071, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.01079, allocations: 31.86 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.0108, allocations: 0.5625 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.01084, allocations: 4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.01085, allocations: 8 kB / 384.2 MB, free: 12.41 MB / 362.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 (11): * Single equations (assignments): 11 * 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 9.307e-05/0.01095, allocations: 164.5 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.01101, allocations: 55.67 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.0112, allocations: 126 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0112, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01121, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01121, allocations: 3.938 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.01169, allocations: 469.1 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01169, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.01176, allocations: 27.92 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01176, allocations: 4.062 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01177, allocations: 4 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01177, allocations: 3.938 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01178, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.01198, allocations: 298.9 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.01201, allocations: 39.72 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01204, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.01212, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01216, allocations: 19.91 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01216, allocations: 4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003143/0.01248, allocations: 390.7 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01248, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.01278, allocations: 31.98 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001188/0.01397, allocations: 432.2 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01408, allocations: 55.59 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01409, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.01414, allocations: 39.59 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01449, allocations: 41.69 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.01523, allocations: 0.6271 MB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.0153, allocations: 123.2 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.01534, allocations: 16.47 kB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.0154, allocations: 86.19 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0154, allocations: 4 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Templates: time 0.00388/0.01928, allocations: 1.918 MB / 389.2 MB, free: 7.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.8345527318306267]