Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001302/0.001302, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001676/0.001676, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9868/0.9868, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.246/0.246, allocations: 32.8 MB / 294.6 MB, free: 1.137 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.586e-05, allocations: 5.359 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002322/0.002348, allocations: 1.651 MB / 324.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.003122, allocations: 0.5374 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.003182, allocations: 0 / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.003423, allocations: 75.64 kB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.003706, allocations: 107.5 kB / 325.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.003952, allocations: 95.62 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.004097, allocations: 83.75 kB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.004177, allocations: 15.98 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.004245, allocations: 47.81 kB / 325.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.004339, allocations: 47.94 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.004354, allocations: 4 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.004442, allocations: 43.92 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.004487, allocations: 23.88 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.004514, allocations: 19.91 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.00467, allocations: 87.67 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004674, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004675, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004678, allocations: 0 / 326.1 MB, free: 6.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003573/0.005036, allocations: 325.4 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005071, allocations: 8.031 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.005103, allocations: 8.938 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.005247, allocations: 135.5 kB / 326.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.005256, allocations: 8.375 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.005276, allocations: 4.375 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.005374, allocations: 74.84 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.005381, allocations: 192 / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.005388, allocations: 4.125 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.005392, allocations: 0 / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.005414, allocations: 11.98 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.005625, allocations: 163.7 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.005678, allocations: 38.5 kB / 326.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.005693, allocations: 12.84 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.005717, allocations: 0 / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005739, allocations: 38.5 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.00574, allocations: 0 / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004302/0.00617, allocations: 145.6 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.0062, allocations: 51.41 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.006303, allocations: 176.8 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006314, allocations: 29.7 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.006347, allocations: 104.8 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.00637, allocations: 23.73 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.0064, allocations: 29.7 kB / 327.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.006477, allocations: 326.8 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.006489, allocations: 7.938 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.0065, allocations: 7.938 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.006533, allocations: 24.84 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006535, allocations: 4 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.653e-05/0.006602, allocations: 69.59 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.006614, allocations: 4 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006618, allocations: 0 / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.006628, allocations: 0 / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.006695, allocations: 19.92 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.006698, allocations: 4 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.006716, allocations: 4 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.006722, allocations: 0 / 327.9 MB, free: 4.852 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 (8): * Single equations (assignments): 8 * 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 5.933e-05/0.006781, allocations: 120.7 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.006798, allocations: 7.938 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.006901, allocations: 75.42 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.006904, allocations: 4 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006905, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006909, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.007138, allocations: 255.5 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.00714, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.007179, allocations: 15.98 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.007183, allocations: 4 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.007188, allocations: 0 / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007189, allocations: 0 / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00719, allocations: 0 / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.007277, allocations: 164.3 kB / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.007286, allocations: 11.91 kB / 328.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.007297, allocations: 4 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.00733, allocations: 4.016 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.007356, allocations: 15.98 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.007359, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.007406, allocations: 59.64 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007406, allocations: 0 / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.007546, allocations: 12 kB / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00125/0.008797, allocations: 0.5856 MB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.008882, allocations: 36.72 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.008886, allocations: 0 / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.008906, allocations: 16.86 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.009069, allocations: 30.92 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.009389, allocations: 227.6 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.009429, allocations: 71.33 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.009459, allocations: 8.734 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.009511, allocations: 63.36 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009511, allocations: 0 / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Templates: time 0.003343/0.01285, allocations: 1.477 MB / 331.1 MB, free: 1.793 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.9828236219473183]