Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001648/0.001648, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001698/0.001698, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3179/0.3179, allocations: 34.27 MB / 296.1 MB, free: 0.707 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.7e-05, allocations: 5.547 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002347/0.002364, allocations: 1.626 MB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.003139, allocations: 0.5258 MB / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.003202, allocations: 0 / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.00341, allocations: 27.73 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.003668, allocations: 83.55 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.00387, allocations: 95.62 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004018, allocations: 59.97 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.004111, allocations: 11.98 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.004176, allocations: 31.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.004235, allocations: 19.92 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.004251, allocations: 4 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.004322, allocations: 31.92 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.00437, allocations: 15.92 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.004398, allocations: 11.94 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.004527, allocations: 71.69 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004529, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.004531, allocations: 3.984 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004535, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.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.0003477/0.004882, allocations: 408.2 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.004925, allocations: 12.03 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.004952, allocations: 8.891 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.005066, allocations: 134.5 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.005076, allocations: 8.312 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.005096, allocations: 384 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.399e-05/0.00518, allocations: 54.95 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005189, allocations: 192 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.005197, allocations: 4.125 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005204, allocations: 3.984 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.005225, allocations: 11.98 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.00545, allocations: 252.3 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.005601, allocations: 51.03 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.00562, allocations: 11.69 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.005644, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.005669, allocations: 37.33 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.00567, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002579/0.005928, allocations: 85.59 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005956, allocations: 55.41 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.006054, allocations: 204.4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.006063, allocations: 25.7 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.006114, allocations: 142.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.006138, allocations: 19.83 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.006165, allocations: 23.36 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.006302, allocations: 0.4923 MB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.006313, allocations: 4 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.006325, allocations: 7.938 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.006355, allocations: 23.67 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-07/0.006356, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.003e-05/0.006416, allocations: 57.84 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.006426, allocations: 8 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006431, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006443, allocations: 3.984 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.391e-05/0.006477, allocations: 8 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006479, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.006503, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.006507, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.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 6.384e-05/0.006571, allocations: 164.5 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.006588, allocations: 11.89 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.006677, allocations: 62.14 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006679, allocations: 8 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00668, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.006685, allocations: 3.984 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.006892, allocations: 298 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.006894, allocations: 4 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.006918, allocations: 8 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.006919, allocations: 0 / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.006922, allocations: 0 / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006922, allocations: 0 / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006923, allocations: 0 / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.007026, allocations: 215.8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.007036, allocations: 11.94 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.007045, allocations: 3.938 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.007074, allocations: 4.188 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.007093, allocations: 0 / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.007098, allocations: 4 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.00715, allocations: 153.7 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00715, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.007295, allocations: 15.95 kB / 384.2 MB, free: 12.39 MB / 362.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.0007818/0.008077, allocations: 379.9 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.114e-05/0.008148, allocations: 31.55 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008149, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.008173, allocations: 23.61 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.008367, allocations: 23.17 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.008659, allocations: 182.6 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.008695, allocations: 62.34 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.008722, allocations: 8 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.008779, allocations: 78.19 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008779, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003345/0.01212, allocations: 1.271 MB / 386.2 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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: 3.196093872189522]