Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0008274/0.0008274, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003227/0.003227, allocations: 162.2 kB / 24.7 MB, free: 9.426 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.8714/0.8714, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 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.2537/0.2537, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.864e-05, allocations: 4.109 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002087/0.002116, allocations: 1.595 MB / 442.5 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.002824, allocations: 0.5181 MB / 443 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.002877, allocations: 3.938 kB / 443 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.003055, allocations: 23.8 kB / 443 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.003297, allocations: 91.55 kB / 443.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.003496, allocations: 83.08 kB / 443.2 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003644, allocations: 75.7 kB / 443.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.00374, allocations: 4 kB / 443.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.003797, allocations: 35.91 kB / 443.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.00385, allocations: 19.91 kB / 443.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.003863, allocations: 0 / 443.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.003924, allocations: 31.94 kB / 443.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.00397, allocations: 11.92 kB / 443.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.003994, allocations: 12 kB / 443.4 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.00413, allocations: 83.7 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004133, allocations: 0 / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004133, allocations: 3.938 kB / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004137, allocations: 0 / 443.4 MB, free: 1.141 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.0005271/0.004664, allocations: 313.8 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.004702, allocations: 12.03 kB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.004739, allocations: 12.89 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004877, allocations: 125.7 kB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.004885, allocations: 384 / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.004905, allocations: 8.375 kB / 443.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.005012, allocations: 42.25 kB / 443.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.005024, allocations: 4.188 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005034, allocations: 8.109 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.005038, allocations: 0 / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.005095, allocations: 23.92 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.005353, allocations: 224.5 kB / 444.2 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.005537, allocations: 38.56 kB / 444.2 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.005574, allocations: 16.86 kB / 444.3 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.005599, allocations: 12.02 kB / 444.3 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.00562, allocations: 38.5 kB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005621, allocations: 0 / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000413/0.006034, allocations: 133.5 kB / 444.4 MB, free: 32 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1816/0.1876, allocations: 51.41 kB / 444.5 MB, free: 46.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1878, allocations: 154.3 kB / 444.6 MB, free: 46.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1878, allocations: 25.7 kB / 444.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.1878, allocations: 97.34 kB / 444.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1878, allocations: 15.45 kB / 444.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1879, allocations: 21.05 kB / 444.8 MB, free: 46.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.1879, allocations: 317.6 kB / 445.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.1879, allocations: 24.17 kB / 445.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.188, allocations: 18.59 kB / 445.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.1881, allocations: 47.08 kB / 445.2 MB, free: 46.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1881, allocations: 0 / 445.2 MB, free: 46.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001094/0.1882, allocations: 87.94 kB / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1882, allocations: 5.812 kB / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1882, allocations: 0 / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1882, allocations: 0 / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.1882, allocations: 11.91 kB / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1882, allocations: 0.5625 kB / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.1883, allocations: 13.81 kB / 445.3 MB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.1883, allocations: 0 / 445.3 MB, free: 46.02 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.639e-05/0.1883, allocations: 121 kB / 445.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1883, allocations: 9.641 kB / 445.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1885, allocations: 95.34 kB / 445.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1885, allocations: 3.938 kB / 445.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1885, allocations: 0 / 445.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1885, allocations: 0 / 445.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1887, allocations: 288.1 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1887, allocations: 5.516 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.1888, allocations: 11.78 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1888, allocations: 7.781 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1888, allocations: 4.453 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1888, allocations: 3.047 kB / 445.8 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1888, allocations: 4.781 kB / 445.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.1889, allocations: 176.2 kB / 446 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.1889, allocations: 7.016 kB / 446 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1889, allocations: 7.594 kB / 446 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.1889, allocations: 9.781 kB / 446 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1889, allocations: 6.781 kB / 446.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.189, allocations: 0 / 446.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.061e-05/0.189, allocations: 121.6 kB / 446.2 MB, free: 45.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.189, allocations: 0 / 446.2 MB, free: 45.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.1892, allocations: 11.75 kB / 446.2 MB, free: 45.42 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.0006602/0.1898, allocations: 439.2 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.1899, allocations: 44.86 kB / 446.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1899, allocations: 0 / 446.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.19, allocations: 26.11 kB / 446.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1902, allocations: 23.17 kB / 446.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.1906, allocations: 203.9 kB / 446.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.1906, allocations: 73.34 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1906, allocations: 17.59 kB / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1906, allocations: 0 / 447 MB, free: 45.07 MB / 410.7 MB Notification: Performance of Templates: time 0.002114/0.1927, allocations: 1.462 MB / 448.5 MB, free: 44.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.970721268095076]