Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001878/0.003034, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009643/0.0009643, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.00274, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177.4 MB / 189.9 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09372/1.095, allocations: 53.86 MB / 243.7 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2664/0.2664, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02735/0.2937, allocations: 13.24 MB / 292.6 MB, free: 6.445 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 294 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.993e-05, allocations: 2.969 kB / 294 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002213/0.002233, allocations: 1.8 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003439, allocations: 1.027 MB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.003516, allocations: 0 / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.003718, allocations: 43.7 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.00396, allocations: 91.53 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004155, allocations: 87.53 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004311, allocations: 99.72 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.004391, allocations: 11.98 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.004513, allocations: 79.75 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.004586, allocations: 23.91 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004601, allocations: 4 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.00469, allocations: 51.91 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.004729, allocations: 15.94 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.00476, allocations: 15.94 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004908, allocations: 95.61 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.004923, allocations: 0 / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004924, allocations: 4 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.004939, allocations: 4 kB / 297.4 MB, free: 1.609 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.0004198/0.005359, allocations: 337 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.005389, allocations: 8.922 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.00542, allocations: 12.92 kB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005569, allocations: 146.3 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005585, allocations: 4.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.0056, allocations: 384 / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005702, allocations: 61.77 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005711, allocations: 4.188 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005719, allocations: 8.312 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005724, allocations: 7.938 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.00575, allocations: 11.92 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.00594, allocations: 170 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.00603, allocations: 85.28 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.006048, allocations: 8.859 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.006059, allocations: 4 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.384e-05/0.006153, allocations: 66.16 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.006154, allocations: 0 / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002959/0.00645, allocations: 121.4 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.00648, allocations: 55.41 kB / 298.5 MB, free: 412 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006584, allocations: 177.3 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006598, allocations: 25.7 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.006627, allocations: 100.1 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.006653, allocations: 23.84 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.006684, allocations: 21.7 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.006768, allocations: 322.8 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.006786, allocations: 14.81 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.006808, allocations: 22.64 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.006854, allocations: 48.53 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006856, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.827e-05/0.006934, allocations: 76.47 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006945, allocations: 7.938 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.00695, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.006959, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.007022, allocations: 15.94 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007027, allocations: 7.984 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.007052, allocations: 0 / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.007057, allocations: 4.031 kB / 299.3 MB, free: 15.49 MB / 298.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 6.224e-05/0.007119, allocations: 120.6 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.007139, allocations: 15.92 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.007248, allocations: 75.64 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.00725, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007252, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007256, allocations: 4.375 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.007464, allocations: 295.4 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.007467, allocations: 11.88 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.007497, allocations: 12.03 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.007508, allocations: 11.95 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.00751, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007517, allocations: 7.984 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007518, allocations: 0 / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00752, allocations: 0 / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007622, allocations: 220.8 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.007637, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.007675, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.007698, allocations: 7.984 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.00771, allocations: 8 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.007749, allocations: 51.58 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007749, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007896, allocations: 27.98 kB / 300.2 MB, free: 14.57 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: 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.001358/0.009254, allocations: 0.6125 MB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.009359, allocations: 44.75 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.009368, allocations: 4 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.009398, allocations: 32.78 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.009582, allocations: 35.58 kB / 300.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.01002, allocations: 232 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.01006, allocations: 67.34 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.0101, allocations: 25.09 kB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.01016, allocations: 67.36 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01016, allocations: 0 / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003671/0.01384, allocations: 2.045 MB / 303.4 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.8209569631144404]