Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 195.8 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251.6 MB, free: 13.31 MB / 206.1 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.2714/0.2714, allocations: 44.91 MB / 351.6 MB, free: 12.2 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 63.91 kB / 495.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4528, allocations: 64.26 MB / 0.5464 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003149/0.456, allocations: 1.588 MB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.4577, allocations: 1.09 MB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.4578, allocations: 1.094 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.458, allocations: 23.75 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.4582, allocations: 44.03 kB / 0.5491 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.4585, allocations: 89.73 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.4586, allocations: 55.31 kB / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4588, allocations: 19.62 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.4588, allocations: 20.16 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.459, allocations: 24.34 kB / 0.5493 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.459, allocations: 7.734 kB / 0.5493 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.4591, allocations: 48.64 kB / 0.5493 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.4592, allocations: 14.23 kB / 0.5494 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.4592, allocations: 15.91 kB / 0.5494 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.4594, allocations: 93 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4594, allocations: 1.719 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4594, allocations: 4 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4594, allocations: 0 / 0.5495 GB, free: 10.8 MB / 398.1 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.0005296/0.4599, allocations: 378.7 kB / 0.5498 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.46, allocations: 9.875 kB / 0.5498 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.46, allocations: 7.984 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.4602, allocations: 179.4 kB / 0.55 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4602, allocations: 1.625 kB / 0.55 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.4603, allocations: 1.688 kB / 0.55 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4604, allocations: 76.27 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4604, allocations: 3.953 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4605, allocations: 0 / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4605, allocations: 1.312 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.4606, allocations: 20.89 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.4609, allocations: 277.6 kB / 0.5504 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.4611, allocations: 47.22 kB / 0.5504 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.4612, allocations: 18.12 kB / 0.5504 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4612, allocations: 1.531 kB / 0.5504 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4613, allocations: 31.94 kB / 0.5505 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4613, allocations: 0 / 0.5505 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000522/0.4618, allocations: 133.8 kB / 0.5506 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.4619, allocations: 78.27 kB / 0.5507 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4621, allocations: 140.1 kB / 0.5508 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4621, allocations: 27.23 kB / 0.5508 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.4621, allocations: 90.7 kB / 0.5509 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.4622, allocations: 17.3 kB / 0.5509 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4622, allocations: 22.34 kB / 0.551 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4623, allocations: 328.3 kB / 0.5513 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.4624, allocations: 18.92 kB / 0.5513 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.4625, allocations: 31.05 kB / 0.5513 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.4626, allocations: 47.39 kB / 0.5514 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4626, allocations: 4 kB / 0.5514 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001805/0.4628, allocations: 84.5 kB / 0.5515 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4628, allocations: 8.594 kB / 0.5515 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4628, allocations: 1.062 kB / 0.5515 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4628, allocations: 0 / 0.5515 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.4629, allocations: 13.55 kB / 0.5515 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4629, allocations: 1.281 kB / 0.5515 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.4629, allocations: 3.5 kB / 0.5515 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.4629, allocations: 5.109 kB / 0.5515 GB, free: 8.781 MB / 398.1 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 (5): * Single equations (assignments): 5 * 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.0001028/0.463, allocations: 121.2 kB / 0.5516 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.4631, allocations: 11.28 kB / 0.5516 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.4633, allocations: 92.97 kB / 0.5517 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4633, allocations: 0 / 0.5517 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4633, allocations: 0 / 0.5517 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4633, allocations: 1.469 kB / 0.5517 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.4637, allocations: 339.7 kB / 0.552 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4637, allocations: 5.406 kB / 0.552 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.4638, allocations: 12.23 kB / 0.552 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4638, allocations: 1.156 kB / 0.552 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.4638, allocations: 0.9688 kB / 0.552 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4638, allocations: 3.938 kB / 0.552 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4638, allocations: 0.9688 kB / 0.552 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.464, allocations: 178.8 kB / 0.5522 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.4641, allocations: 87.16 kB / 0.5523 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.4641, allocations: 5.156 kB / 0.5523 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.4642, allocations: 7.5 kB / 0.5523 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4642, allocations: 5.109 kB / 0.5523 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.4642, allocations: 6.25 kB / 0.5523 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.4643, allocations: 101.7 kB / 0.5524 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4643, allocations: 0 / 0.5524 GB, free: 7.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.4646, allocations: 26.86 kB / 0.5524 GB, free: 7.844 MB / 398.1 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 (5): * Single equations (assignments): 5 * 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.001535/0.4661, allocations: 453.8 kB / 0.5529 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4663, allocations: 42.03 kB / 0.5529 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4663, allocations: 4 kB / 0.5529 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.4664, allocations: 27.2 kB / 0.5529 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.4668, allocations: 20.78 kB / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.4672, allocations: 167.5 kB / 0.5531 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4675, allocations: 0.6888 MB / 0.5538 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.4676, allocations: 17.69 kB / 0.5538 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4676, allocations: 11.91 kB / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4676, allocations: 1.156 kB / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.004599/0.4722, allocations: 1.363 MB / 0.5552 GB, free: 6.004 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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: 5.599024787545204]