Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0006922/0.0006922, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.003033/0.003033, allocations: 152.9 kB / 24.69 MB, free: 8.91 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.8601/0.8601, allocations: 177.1 MB / 205 MB, free: 5.73 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.2412/0.2412, allocations: 34.25 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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.456e-05, allocations: 2.281 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.1824/0.1824, allocations: 1.594 MB / 445 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.1831, allocations: 0.5324 MB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.1831, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1833, allocations: 20 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1835, allocations: 84.19 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1837, allocations: 115.3 kB / 445.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1838, allocations: 66.08 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.1839, allocations: 19.75 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.184, allocations: 34.16 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.184, allocations: 12.86 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.184, allocations: 2.781 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.1841, allocations: 27.38 kB / 446 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1841, allocations: 20.38 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1842, allocations: 12.11 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1843, allocations: 82.16 kB / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1843, allocations: 2 kB / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1843, allocations: 0 / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1843, allocations: 0 / 446.1 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.0003162/0.1846, allocations: 305.7 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1846, allocations: 13.89 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.1847, allocations: 8.297 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1848, allocations: 131 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.1848, allocations: 2.219 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1848, allocations: 5.844 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.1849, allocations: 48.14 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1849, allocations: 192 / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1849, allocations: 7.875 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1849, allocations: 6.109 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.185, allocations: 25.16 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.1852, allocations: 226 kB / 446.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1853, allocations: 48.19 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.1853, allocations: 17.47 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1854, allocations: 6.812 kB / 446.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.1854, allocations: 30.56 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1854, allocations: 2.969 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003421/0.1857, allocations: 153.1 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1857, allocations: 51.41 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.1858, allocations: 158.6 kB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.1858, allocations: 25.7 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.1858, allocations: 98.31 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1859, allocations: 26.59 kB / 447.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.1859, allocations: 15.03 kB / 447.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.681e-05/0.1859, allocations: 320.9 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.1859, allocations: 17.95 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.186, allocations: 31.22 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.186, allocations: 50.2 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.186, allocations: 2.656 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.318e-05/0.1861, allocations: 94.84 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1861, allocations: 2.906 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1861, allocations: 3 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1861, allocations: 3.375 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.1862, allocations: 15.89 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.1862, allocations: 0 / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1862, allocations: 2.969 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1862, allocations: 2.812 kB / 448 MB, free: 41.95 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 3.809e-05/0.1862, allocations: 124 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1863, allocations: 10.67 kB / 448.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1864, allocations: 96.97 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1864, allocations: 0 / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1864, allocations: 0 / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1864, allocations: 7.328 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1866, allocations: 302.3 kB / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1866, allocations: 0 / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.1866, allocations: 14.39 kB / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1866, allocations: 0 / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.1866, allocations: 3.938 kB / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1866, allocations: 0 / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1866, allocations: 6.031 kB / 448.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/0.1867, allocations: 183.7 kB / 448.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.1867, allocations: 6.828 kB / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.1867, allocations: 7.938 kB / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.1867, allocations: 6.141 kB / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.1868, allocations: 6.047 kB / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1868, allocations: 0 / 448.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.1868, allocations: 117.1 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1868, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.187, allocations: 11.62 kB / 448.9 MB, free: 41.25 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.0005973/0.1875, allocations: 436.8 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1877, allocations: 47.16 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.1877, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.1877, allocations: 31.8 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.0002273/0.1879, allocations: 21.09 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.1882, allocations: 210.9 kB / 449.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.1882, allocations: 83.83 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.1883, allocations: 14.5 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1883, allocations: 0 / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of Templates: time 0.001862/0.1901, allocations: 1.512 MB / 451.2 MB, free: 40.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.726072431541979]