Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001363/0.001363, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001803/0.001803, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.43/1.43, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2025/0.2025, 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.949e-05, allocations: 9.172 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003241/0.00327, allocations: 1.662 MB / 441.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004471, allocations: 0.5764 MB / 442.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.004541, allocations: 0 / 442.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.005171, allocations: 455.1 kB / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.005691, allocations: 291.2 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.006179, allocations: 189.5 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.006471, allocations: 187.5 kB / 443.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.006575, allocations: 16.22 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.006776, allocations: 127.8 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.007088, allocations: 247.6 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.007116, allocations: 4 kB / 443.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.007247, allocations: 51.92 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.007363, allocations: 91.64 kB / 444 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.007423, allocations: 39.73 kB / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.007797, allocations: 262.9 kB / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.007802, allocations: 4 kB / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007803, allocations: 0 / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.00781, allocations: 0 / 444.3 MB, free: 3.945 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007911/0.008602, allocations: 0.5932 MB / 444.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.008635, allocations: 8.031 kB / 444.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.008718, allocations: 52.55 kB / 444.9 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.009012, allocations: 242 kB / 445.2 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.009025, allocations: 4.375 kB / 445.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.009053, allocations: 8.312 kB / 445.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.009242, allocations: 66.22 kB / 445.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.009255, allocations: 192 / 445.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.009268, allocations: 4.125 kB / 445.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.009272, allocations: 8 kB / 445.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.009425, allocations: 39.97 kB / 445.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.01002, allocations: 360.3 kB / 445.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01028, allocations: 58.48 kB / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.01036, allocations: 24.97 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.01039, allocations: 0 / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.01042, allocations: 46.59 kB / 445.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.01042, allocations: 0 / 445.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001675/0.01209, allocations: 0.4925 MB / 446.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.01214, allocations: 51.41 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.01303, allocations: 0.8653 MB / 447.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01305, allocations: 25.7 kB / 447.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.01323, allocations: 220 kB / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.01328, allocations: 39.62 kB / 447.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.01333, allocations: 33.7 kB / 447.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.01352, allocations: 362.7 kB / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01367, allocations: 52.52 kB / 447.9 MB, free: 156 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.01381, allocations: 55.95 kB / 448 MB, free: 100 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1628/0.1766, allocations: 127.3 kB / 448.1 MB, free: 21.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1766, allocations: 1.828 kB / 448.1 MB, free: 21.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000441/0.1771, allocations: 199.3 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1771, allocations: 6.812 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1771, allocations: 4.781 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1771, allocations: 0.6562 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1772, allocations: 26.59 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1772, allocations: 4.594 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.1773, allocations: 9.672 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1773, allocations: 2.906 kB / 448.3 MB, free: 21.27 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 (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 0.0002098/0.1775, allocations: 225.3 kB / 448.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.1776, allocations: 53.41 kB / 448.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.1781, allocations: 223.7 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.1781, allocations: 6.531 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1781, allocations: 0 / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1781, allocations: 1.859 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.1789, allocations: 0.535 MB / 449.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1789, allocations: 1.031 kB / 449.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.179, allocations: 30.03 kB / 449.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.179, allocations: 1.094 kB / 449.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.179, allocations: 2.703 kB / 449.4 MB, free: 20.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.179, allocations: 9.734 kB / 449.4 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.179, allocations: 1.125 kB / 449.4 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.1794, allocations: 307.3 kB / 449.7 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.1794, allocations: 35.44 kB / 449.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1794, allocations: 1.469 kB / 449.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1795, allocations: 17.11 kB / 449.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1796, allocations: 8.828 kB / 449.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1796, allocations: 11.8 kB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005927/0.1802, allocations: 0.6496 MB / 450.4 MB, free: 20.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1802, allocations: 3.812 kB / 450.4 MB, free: 20.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1805, allocations: 35.62 kB / 450.5 MB, free: 20.42 MB / 366.1 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.001687/0.1822, allocations: 490.5 kB / 451 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1825, allocations: 125.9 kB / 451.1 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1825, allocations: 0 / 451.1 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1827, allocations: 64.11 kB / 451.1 MB, free: 20.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.183, allocations: 37.41 kB / 451.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1842, allocations: 0.8853 MB / 452.1 MB, free: 19.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1845, allocations: 239.8 kB / 452.3 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.1846, allocations: 33.48 kB / 452.3 MB, free: 19.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1846, allocations: 21.91 kB / 452.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1846, allocations: 0 / 452.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of Templates: time 0.005968/0.1906, allocations: 1.792 MB / 454.1 MB, free: 19.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.660728968679905]