Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.002001/0.002001, allocations: 104.3 kB / 20.45 MB, free: 1.379 MB / 14.72 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.002514/0.002514, allocations: 208.7 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003773/0.003773, allocations: 77.61 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1469, allocations: 61.04 MB / 0.5174 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003118/0.1501, allocations: 1.568 MB / 0.5189 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.1508, allocations: 307.7 kB / 0.5192 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1508, allocations: 0 / 0.5192 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.1514, allocations: 455.1 kB / 0.5196 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.1518, allocations: 243.5 kB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1522, allocations: 119.7 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.1524, allocations: 159.7 kB / 0.5201 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.1525, allocations: 8 kB / 0.5201 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1527, allocations: 111.7 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1529, allocations: 243.5 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.153, allocations: 8 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1531, allocations: 16 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1532, allocations: 87.67 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.1533, allocations: 67.12 kB / 0.5207 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1537, allocations: 250.7 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.1537, allocations: 7.984 kB / 0.5209 GB, free: 3.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1537, allocations: 0 / 0.5209 GB, free: 3.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1537, allocations: 0 / 0.5209 GB, free: 3.035 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.0007977/0.1545, allocations: 0.5583 MB / 0.5214 GB, free: 2.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1545, allocations: 8.031 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.1546, allocations: 48.66 kB / 0.5215 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1549, allocations: 242.8 kB / 0.5217 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1549, allocations: 4.375 kB / 0.5217 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.155, allocations: 8.312 kB / 0.5217 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1551, allocations: 53.8 kB / 0.5218 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1551, allocations: 0 / 0.5218 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1551, allocations: 0 / 0.5218 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1551, allocations: 0 / 0.5218 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1553, allocations: 35.97 kB / 0.5218 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.1557, allocations: 316.5 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1559, allocations: 42.48 kB / 0.5222 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.1559, allocations: 20.95 kB / 0.5222 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.156, allocations: 3.984 kB / 0.5222 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.156, allocations: 30.56 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.156, allocations: 0 / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003373/0.1563, allocations: 121.4 kB / 0.5223 GB, free: 1.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1564, allocations: 55.34 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.1574, allocations: 0.8535 MB / 0.5232 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1574, allocations: 25.7 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1576, allocations: 208.1 kB / 0.5235 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1576, allocations: 15.84 kB / 0.5235 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1576, allocations: 17.72 kB / 0.5235 GB, free: 236 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1578, allocations: 358.7 kB / 0.5238 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.1579, allocations: 19.98 kB / 0.5238 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.158, allocations: 15.98 kB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1581, allocations: 44.77 kB / 0.5239 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1581, allocations: 0 / 0.5239 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.1583, allocations: 101.4 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1583, allocations: 7.938 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1583, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1583, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.1584, allocations: 11.98 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1584, allocations: 4 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1585, allocations: 4 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1585, allocations: 3.984 kB / 0.524 GB, free: 15.65 MB / 414.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 (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 0.0002175/0.1587, allocations: 217.7 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1588, allocations: 43.72 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.159, allocations: 113.1 kB / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.159, allocations: 0 / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.159, allocations: 0 / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.159, allocations: 8.359 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1593, allocations: 233.2 kB / 0.5246 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1593, allocations: 3.938 kB / 0.5246 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.1594, allocations: 11.98 kB / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1594, allocations: 0 / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1594, allocations: 3.984 kB / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1594, allocations: 0 / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1594, allocations: 0 / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1597, allocations: 203.2 kB / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.1597, allocations: 35.72 kB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1597, allocations: 4 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.1598, allocations: 4 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1599, allocations: 7.984 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1599, allocations: 0 / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007629/0.1606, allocations: 0.6433 MB / 0.5255 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1606, allocations: 0 / 0.5255 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1609, allocations: 23.94 kB / 0.5255 GB, free: 14.05 MB / 414.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 (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.001466/0.1624, allocations: 374.6 kB / 0.5259 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1626, allocations: 31.97 kB / 0.5259 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1626, allocations: 4 kB / 0.5259 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.1626, allocations: 15.98 kB / 0.5259 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1631, allocations: 33.75 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1643, allocations: 0.8156 MB / 0.5268 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1646, allocations: 207.4 kB / 0.527 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.1646, allocations: 15.44 kB / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1646, allocations: 0 / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.007325/0.1719, allocations: 3.624 MB / 0.5305 GB, free: 8.918 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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: 7.8711148872971535]