Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001983/0.001983, allocations: 91.67 kB / 20.21 MB, free: 4.207 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.00217/0.00217, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2119/0.2119, allocations: 32.37 MB / 270 MB, free: 14.85 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.362e-05, allocations: 2.312 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002163/0.002187, allocations: 1.576 MB / 348.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.002706, allocations: 315.4 kB / 348.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.002757, allocations: 4 kB / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.003055, allocations: 79.7 kB / 348.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.003225, allocations: 59.73 kB / 349 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.003419, allocations: 67.78 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.003547, allocations: 71.81 kB / 349.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.003636, allocations: 11.98 kB / 349.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.003708, allocations: 39.83 kB / 349.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.003799, allocations: 47.95 kB / 349.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.00382, allocations: 4 kB / 349.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.003888, allocations: 35.91 kB / 349.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.00395, allocations: 19.92 kB / 349.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.00398, allocations: 11.94 kB / 349.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004128, allocations: 79.67 kB / 349.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.004132, allocations: 3.984 kB / 349.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004133, allocations: 0 / 349.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004137, allocations: 0 / 349.4 MB, free: 7.367 MB / 282.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.0004034/0.004541, allocations: 439.6 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004573, allocations: 12.03 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.004622, allocations: 16.88 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.004758, allocations: 132.5 kB / 349.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004769, allocations: 384 / 349.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.004787, allocations: 4.375 kB / 349.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.004901, allocations: 42.25 kB / 350 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.004914, allocations: 192 / 350 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.004923, allocations: 8.125 kB / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.004927, allocations: 0 / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.004997, allocations: 15.98 kB / 350 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.00527, allocations: 299.7 kB / 350.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.005468, allocations: 47.05 kB / 350.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.005506, allocations: 19.69 kB / 350.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.005525, allocations: 3.938 kB / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.005537, allocations: 33.39 kB / 350.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005538, allocations: 0 / 350.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004535/0.005991, allocations: 137.4 kB / 350.5 MB, free: 6.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.006011, allocations: 55.34 kB / 350.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.006129, allocations: 244.1 kB / 350.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.006136, allocations: 25.7 kB / 350.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.006179, allocations: 154.9 kB / 351 MB, free: 5.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.006196, allocations: 23.83 kB / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.006229, allocations: 23.36 kB / 351.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.006291, allocations: 0.4962 MB / 351.5 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.006338, allocations: 15.98 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.006376, allocations: 15.98 kB / 351.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.006456, allocations: 39.67 kB / 351.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006457, allocations: 4 kB / 351.6 MB, free: 4.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001262/0.006583, allocations: 81.78 kB / 351.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.006594, allocations: 11.94 kB / 351.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006598, allocations: 0 / 351.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006612, allocations: 0 / 351.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.006661, allocations: 15.98 kB / 351.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006665, allocations: 0 / 351.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.006695, allocations: 4 kB / 351.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.00671, allocations: 0 / 351.7 MB, free: 4.781 MB / 282.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.904e-05/0.006759, allocations: 160.6 kB / 351.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.00679, allocations: 15.89 kB / 351.9 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.006958, allocations: 86.12 kB / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00696, allocations: 4 kB / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.006963, allocations: 0 / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006966, allocations: 3.938 kB / 352 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.007243, allocations: 349.4 kB / 352.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007244, allocations: 0 / 352.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.007287, allocations: 11.98 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007288, allocations: 288 / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007295, allocations: 8 kB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007296, allocations: 0 / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007297, allocations: 0 / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.007441, allocations: 235.7 kB / 352.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.007454, allocations: 11.94 kB / 352.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.007468, allocations: 3.938 kB / 352.6 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.007524, allocations: 192 / 352.6 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.007562, allocations: 15.98 kB / 352.6 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.007566, allocations: 0 / 352.6 MB, free: 3.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.007642, allocations: 172 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007642, allocations: 4 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.007863, allocations: 12 kB / 352.8 MB, free: 3.633 MB / 282.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.002711/0.01057, allocations: 426.3 kB / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.0108, allocations: 51.59 kB / 353.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0108, allocations: 0 / 353.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.01085, allocations: 23.69 kB / 353.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.01118, allocations: 25.8 kB / 353.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01159, allocations: 202.2 kB / 353.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.01164, allocations: 85.11 kB / 353.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.01168, allocations: 11.98 kB / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.01171, allocations: 12.5 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01171, allocations: 0 / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of Templates: time 0.003917/0.01563, allocations: 1.162 MB / 354.8 MB, free: 1.703 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.6447980179218575]