Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.002588/0.002588, allocations: 91.55 kB / 20.21 MB, free: 4.191 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.003378/0.003378, allocations: 157.3 kB / 23.52 MB, free: 0.8867 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.601/1.601, 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.2488/0.2488, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.457e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003212/0.003246, allocations: 1.7 MB / 348.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004546, allocations: 0.7843 MB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.004624, allocations: 0 / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.004983, allocations: 43.77 kB / 349.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.005214, allocations: 59.7 kB / 349.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.005483, allocations: 91.62 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.005648, allocations: 95.69 kB / 349.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005753, allocations: 8.234 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.005854, allocations: 55.77 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.005931, allocations: 23.91 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.005955, allocations: 4 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.006043, allocations: 43.92 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.006105, allocations: 19.92 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.00615, allocations: 19.92 kB / 350 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.006363, allocations: 115.6 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.006368, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00637, allocations: 0 / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.006376, allocations: 0 / 350.1 MB, free: 6.652 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006498/0.007026, allocations: 455.5 kB / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.007074, allocations: 8.031 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.88e-05/0.007163, allocations: 12.89 kB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007409, allocations: 140.4 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.007424, allocations: 4.375 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.007446, allocations: 8.375 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.007589, allocations: 54.23 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.007605, allocations: 11.89 kB / 350.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.007616, allocations: 3.984 kB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.007621, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.00769, allocations: 15.94 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.008007, allocations: 295.8 kB / 351.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.008161, allocations: 63.16 kB / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.008222, allocations: 23.62 kB / 351.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.00824, allocations: 0 / 351.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.008372, allocations: 80.98 kB / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.008373, allocations: 0 / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005387/0.008912, allocations: 177.3 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.008943, allocations: 51.41 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.009082, allocations: 236.1 kB / 351.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.009094, allocations: 29.69 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.009158, allocations: 154.9 kB / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.009187, allocations: 27.8 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.009227, allocations: 31.38 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.009311, allocations: 0.5001 MB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.00936, allocations: 19.98 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.009413, allocations: 47.36 kB / 352.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.009505, allocations: 71.19 kB / 352.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.009506, allocations: 0 / 352.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.009654, allocations: 105.5 kB / 352.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.00967, allocations: 8 kB / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009675, allocations: 0 / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.009693, allocations: 3.984 kB / 352.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.009784, allocations: 19.98 kB / 352.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.009795, allocations: 4 kB / 352.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.009845, allocations: 4.031 kB / 352.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.009854, allocations: 4 kB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.782e-05/0.009932, allocations: 168.5 kB / 352.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.009954, allocations: 15.91 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.01019, allocations: 122.9 kB / 353 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01019, allocations: 0 / 353 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.0102, allocations: 0 / 353 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0102, allocations: 0 / 353 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.01058, allocations: 421 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01058, allocations: 0 / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.01062, allocations: 15.97 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01062, allocations: 0 / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01064, allocations: 4 kB / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01064, allocations: 0 / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01064, allocations: 0 / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.01085, allocations: 279.4 kB / 353.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.01087, allocations: 7.953 kB / 353.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.0109, allocations: 0 / 353.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.01096, allocations: 8 kB / 353.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.01102, allocations: 3.984 kB / 353.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01104, allocations: 4 kB / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.01113, allocations: 180 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01113, allocations: 0 / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01139, allocations: 23.98 kB / 353.9 MB, free: 2.492 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003327/0.01471, allocations: 0.4914 MB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01496, allocations: 67.59 kB / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01496, allocations: 0 / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.01503, allocations: 39.61 kB / 354.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.01542, allocations: 33.52 kB / 354.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.01589, allocations: 221.5 kB / 354.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.997e-05/0.01597, allocations: 92.42 kB / 354.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.01602, allocations: 20.78 kB / 354.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.01605, allocations: 16.5 kB / 354.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01605, allocations: 0 / 354.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of Templates: time 0.005159/0.02121, allocations: 1.838 MB / 356.7 MB, free: 15.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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: 5.352148523088545]