Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001569/0.001569, allocations: 84.7 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.00194/0.00194, allocations: 167.8 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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.2072/0.2072, allocations: 32.82 MB / 293.5 MB, free: 36 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/4.002e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003533/0.003573, allocations: 1.659 MB / 441.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004709, allocations: 0.5492 MB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.004779, allocations: 0 / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.005411, allocations: 447 kB / 442.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.00595, allocations: 303.1 kB / 443.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.006361, allocations: 134.3 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.006669, allocations: 171.6 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.006776, allocations: 15.98 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.006971, allocations: 127.7 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.007267, allocations: 235.6 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.007295, allocations: 4 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.007443, allocations: 55.91 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.007561, allocations: 83.7 kB / 443.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.007624, allocations: 39.73 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.008001, allocations: 262.9 kB / 444.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.008005, allocations: 0 / 444.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008006, allocations: 0 / 444.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.008013, allocations: 0 / 444.2 MB, free: 4.07 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.0007812/0.008795, allocations: 0.5776 MB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.008839, allocations: 12.02 kB / 444.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.008917, allocations: 44.66 kB / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.009192, allocations: 242 kB / 445 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.009207, allocations: 8.359 kB / 445 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.009231, allocations: 4.375 kB / 445 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.00939, allocations: 66.17 kB / 445.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.009401, allocations: 192 / 445.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.009413, allocations: 4.125 kB / 445.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.009417, allocations: 0 / 445.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.009518, allocations: 31.97 kB / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.01001, allocations: 332.4 kB / 445.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.01013, allocations: 42.5 kB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.01018, allocations: 20.94 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.0102, allocations: 0 / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.01023, allocations: 42.59 kB / 445.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01023, allocations: 0 / 445.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009745/0.01121, allocations: 312.5 kB / 445.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.01125, allocations: 55.41 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.01215, allocations: 0.8613 MB / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01216, allocations: 29.7 kB / 446.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.01234, allocations: 212 kB / 447 MB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01237, allocations: 35.67 kB / 447.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.01242, allocations: 17.72 kB / 447.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.01259, allocations: 370.7 kB / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.01267, allocations: 23.92 kB / 447.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.01275, allocations: 27.98 kB / 447.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01291, allocations: 60.83 kB / 447.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01291, allocations: 4 kB / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002579/0.01317, allocations: 137.3 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01319, allocations: 8 kB / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01319, allocations: 0 / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.0132, allocations: 0 / 447.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01331, allocations: 19.98 kB / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01331, allocations: 0 / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.01337, allocations: 4 kB / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.01338, allocations: 4 kB / 447.7 MB, free: 332 kB / 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 (8): * Single equations (assignments): 8 * 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.0002036/0.01358, allocations: 218.4 kB / 447.9 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.01364, allocations: 43.72 kB / 448 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1827/0.1963, allocations: 153.7 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1963, allocations: 1.125 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1963, allocations: 3.688 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1963, allocations: 2.016 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.197, allocations: 456.4 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.197, allocations: 2.281 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.1971, allocations: 24.77 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1971, allocations: 1.188 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1971, allocations: 1.906 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1971, allocations: 0.9062 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1971, allocations: 1.188 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1974, allocations: 240.5 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1975, allocations: 36.06 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1975, allocations: 7.016 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1976, allocations: 4.812 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1977, allocations: 5 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1977, allocations: 5.594 kB / 448.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006638/0.1983, allocations: 0.6543 MB / 449.6 MB, free: 20.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1983, allocations: 0 / 449.6 MB, free: 20.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1986, allocations: 30.75 kB / 449.6 MB, free: 20.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001754/0.2004, allocations: 0.4941 MB / 450.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.2006, allocations: 64.75 kB / 450.2 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2006, allocations: 3.25 kB / 450.2 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.2007, allocations: 34.69 kB / 450.2 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2011, allocations: 31.73 kB / 450.2 MB, free: 20.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2023, allocations: 0.8207 MB / 451 MB, free: 20.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2025, allocations: 221.9 kB / 451.3 MB, free: 20.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.2026, allocations: 18.22 kB / 451.3 MB, free: 20.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.2026, allocations: 16.36 kB / 451.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2026, allocations: 1.531 kB / 451.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of Templates: time 0.005806/0.2084, allocations: 1.573 MB / 452.9 MB, free: 20.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.647780492901802]