Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0009096/0.0009096, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003647/0.003647, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8734/0.8734, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.759e-05, allocations: 6.281 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.1781/0.1781, allocations: 1.59 MB / 445 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.1788, allocations: 0.5212 MB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1788, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.179, allocations: 31.78 kB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1792, allocations: 84.55 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.1794, allocations: 87.61 kB / 445.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1795, allocations: 68.25 kB / 445.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.1796, allocations: 10.19 kB / 445.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.1796, allocations: 29.77 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.1797, allocations: 21.52 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1797, allocations: 6.344 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.1798, allocations: 29.25 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1798, allocations: 16.59 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1798, allocations: 20 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.18, allocations: 86.2 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.18, allocations: 0 / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.18, allocations: 0 / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.18, allocations: 0 / 446 MB, free: 43.48 MB / 410.7 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.0003097/0.1803, allocations: 327.3 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1803, allocations: 8.625 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.1803, allocations: 7.766 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1804, allocations: 135.2 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.1804, allocations: 3.438 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1805, allocations: 6.781 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.1806, allocations: 52.64 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1806, allocations: 0 / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1806, allocations: 0 / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1806, allocations: 3.938 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.1806, allocations: 24.88 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1808, allocations: 219 kB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.181, allocations: 50.3 kB / 446.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.181, allocations: 14.58 kB / 446.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.181, allocations: 4.5 kB / 446.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.181, allocations: 37.78 kB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.181, allocations: 0 / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003281/0.1814, allocations: 141.6 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.1814, allocations: 51.41 kB / 447.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.1815, allocations: 181 kB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.1815, allocations: 25.7 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.1815, allocations: 99.36 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1815, allocations: 14.72 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1816, allocations: 22.64 kB / 447.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.615e-05/0.1816, allocations: 324.8 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.1816, allocations: 20.98 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.1817, allocations: 18.11 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.128e-05/0.1817, allocations: 46.06 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1817, allocations: 2.938 kB / 447.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.609e-05/0.1818, allocations: 83.7 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1818, allocations: 7.156 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1818, allocations: 3.938 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1818, allocations: 4.938 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.1819, allocations: 11.5 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1819, allocations: 2.812 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.1819, allocations: 6.203 kB / 448 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1819, allocations: 0 / 448 MB, free: 41.97 MB / 410.7 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 4.207e-05/0.1819, allocations: 130.3 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1819, allocations: 13.41 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.1821, allocations: 93.36 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1821, allocations: 4 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1821, allocations: 3 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1821, allocations: 0 / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1823, allocations: 290.8 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1823, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.1823, allocations: 23.28 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1823, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1823, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1823, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1823, allocations: 10.62 kB / 448.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.1824, allocations: 179.9 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.1824, allocations: 6.922 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1824, allocations: 3.062 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.1824, allocations: 6.719 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1825, allocations: 3.188 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.1825, allocations: 2.938 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.1825, allocations: 136.3 kB / 448.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 2.875 kB / 448.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.1827, allocations: 20.69 kB / 448.9 MB, free: 41.26 MB / 410.7 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.0006454/0.1833, allocations: 430.9 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1834, allocations: 50.77 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1834, allocations: 0 / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.1835, allocations: 24.5 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1837, allocations: 18.77 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.184, allocations: 226.2 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.1841, allocations: 83.98 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1841, allocations: 18.03 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1841, allocations: 0 / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002043/0.1861, allocations: 1.516 MB / 451.2 MB, free: 40.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.633266031742096]