Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.00174/0.00174, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.002031/0.002031, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.382/1.382, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1933/0.1933, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.232e-05, allocations: 5.375 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002627/0.002649, allocations: 1.607 MB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003681, allocations: 0.5492 MB / 442.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.003741, allocations: 3.938 kB / 442.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.004413, allocations: 459 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.00494, allocations: 299.1 kB / 443 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.005389, allocations: 158.3 kB / 443.2 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.0057, allocations: 183.6 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.005827, allocations: 15.92 kB / 443.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.005994, allocations: 111.8 kB / 443.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.006332, allocations: 251.6 kB / 443.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.006359, allocations: 0 / 443.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.006438, allocations: 20 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.006592, allocations: 91.64 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.006662, allocations: 43.69 kB / 443.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.006991, allocations: 235.1 kB / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006993, allocations: 0 / 444.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006994, allocations: 3.938 kB / 444.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006999, allocations: 0 / 444.1 MB, free: 4.152 MB / 366.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.0008053/0.007804, allocations: 0.5699 MB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.007845, allocations: 8.031 kB / 444.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.007921, allocations: 44.66 kB / 444.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.00822, allocations: 246 kB / 445 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.008233, allocations: 4.359 kB / 445 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.008245, allocations: 4.375 kB / 445 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.008418, allocations: 62.11 kB / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.008426, allocations: 192 / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.008439, allocations: 8.125 kB / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.008444, allocations: 0 / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.008571, allocations: 31.97 kB / 445.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.009104, allocations: 328.5 kB / 445.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.009241, allocations: 54.48 kB / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.009315, allocations: 24.94 kB / 445.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.009339, allocations: 3.938 kB / 445.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.009373, allocations: 34.56 kB / 445.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.009374, allocations: 0 / 445.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003432/0.009717, allocations: 129.4 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.009762, allocations: 51.41 kB / 445.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.01062, allocations: 0.8653 MB / 446.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01064, allocations: 33.64 kB / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.01082, allocations: 216.1 kB / 446.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.01084, allocations: 11.84 kB / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.01088, allocations: 13.72 kB / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.01105, allocations: 358.8 kB / 447.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.01113, allocations: 23.97 kB / 447.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.01119, allocations: 15.98 kB / 447.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.01132, allocations: 45.09 kB / 447.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01132, allocations: 4 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.01152, allocations: 117.3 kB / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01154, allocations: 8 kB / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01154, allocations: 0 / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01156, allocations: 0 / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.01164, allocations: 15.92 kB / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01165, allocations: 0 / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.0117, allocations: 4 kB / 447.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.01171, allocations: 4 kB / 447.4 MB, free: 0.6719 MB / 366.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.0001935/0.0119, allocations: 214.4 kB / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.01196, allocations: 47.66 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.01224, allocations: 125.1 kB / 447.8 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01224, allocations: 3.938 kB / 447.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01225, allocations: 0 / 447.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01225, allocations: 3.938 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.01251, allocations: 237.2 kB / 448 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1607/0.1732, allocations: 0.7969 kB / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.1733, allocations: 16.09 kB / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1733, allocations: 4.031 kB / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1733, allocations: 3.906 kB / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1733, allocations: 0.6094 kB / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1733, allocations: 0 / 448 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1736, allocations: 211.3 kB / 448.2 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1737, allocations: 38.03 kB / 448.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.1737, allocations: 1.734 kB / 448.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.1738, allocations: 4.656 kB / 448.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1738, allocations: 2.562 kB / 448.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1738, allocations: 4.219 kB / 448.3 MB, free: 21.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006441/0.1745, allocations: 0.6548 MB / 448.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1745, allocations: 0 / 448.9 MB, free: 21.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1747, allocations: 21.23 kB / 449 MB, free: 21.55 MB / 366.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.001292/0.176, allocations: 370.3 kB / 449.3 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1762, allocations: 43.5 kB / 449.4 MB, free: 21.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1762, allocations: 0 / 449.4 MB, free: 21.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.1763, allocations: 24.64 kB / 449.4 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1767, allocations: 32.06 kB / 449.4 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1778, allocations: 0.7998 MB / 450.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.178, allocations: 219.7 kB / 450.4 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.178, allocations: 18.59 kB / 450.5 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.178, allocations: 18.92 kB / 450.5 MB, free: 20.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.178, allocations: 0 / 450.5 MB, free: 20.96 MB / 366.1 MB Notification: Performance of Templates: time 0.004685/0.1827, allocations: 1.166 MB / 451.6 MB, free: 20.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 4.71982604637742]