Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001476/0.001476, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001866/0.001866, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2458/0.2458, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.337e-05, allocations: 3.078 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002331/0.002344, allocations: 1.76 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.003076, allocations: 0.5528 MB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.00313, allocations: 0 / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.003371, allocations: 71.77 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.003597, allocations: 107.5 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003816, allocations: 131.6 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003955, allocations: 84.25 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.004044, allocations: 24.14 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.004117, allocations: 47.89 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.004203, allocations: 47.88 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.004216, allocations: 8 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.004296, allocations: 47.92 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.004357, allocations: 23.91 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.004381, allocations: 23.92 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.00452, allocations: 99.53 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004522, allocations: 0 / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004523, allocations: 0 / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004527, allocations: 0 / 328.3 MB, free: 4.586 MB / 298.7 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.0003159/0.004843, allocations: 321.6 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.004873, allocations: 8.031 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.004899, allocations: 8.938 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005025, allocations: 151.4 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.005033, allocations: 4.375 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.00505, allocations: 4.375 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.005141, allocations: 70.86 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.00515, allocations: 192 / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005158, allocations: 8.125 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005163, allocations: 0 / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.005187, allocations: 11.98 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.005375, allocations: 176.2 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.005487, allocations: 46.5 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.005502, allocations: 8.859 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.005517, allocations: 7.984 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.005537, allocations: 34.5 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.005538, allocations: 0 / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000445/0.005983, allocations: 209.7 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.00601, allocations: 59.41 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006113, allocations: 173.5 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.006124, allocations: 29.7 kB / 329.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.006157, allocations: 100 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.006185, allocations: 35.69 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.006216, allocations: 25.7 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.00629, allocations: 330.7 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.006306, allocations: 11.98 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.006322, allocations: 8 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.006364, allocations: 44.7 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006365, allocations: 0 / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.254e-05/0.006437, allocations: 69.67 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.006447, allocations: 4 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006451, allocations: 4 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.006461, allocations: 0 / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.006516, allocations: 19.98 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.00652, allocations: 4 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.006546, allocations: 11.92 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.006555, allocations: 4 kB / 330.3 MB, free: 2.469 MB / 298.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 (11): * Single equations (assignments): 11 * 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 7.323e-05/0.006628, allocations: 116.5 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.006651, allocations: 19.98 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.006777, allocations: 87.06 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00678, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006781, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.006784, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.007026, allocations: 284.2 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007028, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.007077, allocations: 23.98 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.00708, allocations: 3.984 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007086, allocations: 8.25 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007089, allocations: 7.984 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.007092, allocations: 3.938 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.59e-05/0.007188, allocations: 186.4 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.007198, allocations: 11.94 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.007207, allocations: 0 / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.007246, allocations: 11.94 kB / 331 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.007275, allocations: 11.92 kB / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.00728, allocations: 4 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.007322, allocations: 52.14 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007322, allocations: 7.938 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.007459, allocations: 23.94 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001183/0.008642, allocations: 0.5718 MB / 331.7 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9e-05/0.008732, allocations: 48.78 kB / 331.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008735, allocations: 0 / 331.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.008766, allocations: 36.78 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.008925, allocations: 23.11 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.009245, allocations: 269.4 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.009283, allocations: 67.34 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.011e-05/0.009323, allocations: 24.59 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.009377, allocations: 71.3 kB / 332.2 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009377, allocations: 0 / 332.2 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of Templates: time 0.003054/0.01243, allocations: 1.671 MB / 333.9 MB, free: 15.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9720923379063606]