Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009936/0.0009936, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01367/0.01466, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001044/0.001044, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002364, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.12/1.12, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1148/1.235, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3337/0.3337, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03413/0.3678, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.812e-05, allocations: 8.203 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002708/0.002726, allocations: 1.881 MB / 292.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004441, allocations: 1.103 MB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004543, allocations: 0 / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.004936, allocations: 300.6 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.00529, allocations: 251 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.005521, allocations: 111.6 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.005805, allocations: 267.2 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.005861, allocations: 14.41 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.006106, allocations: 216.2 kB / 294.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.006287, allocations: 168.1 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.006312, allocations: 8 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.006432, allocations: 47.92 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.006541, allocations: 128.3 kB / 295.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.08e-05/0.006612, allocations: 59.69 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.006893, allocations: 270.9 kB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.905e-05/0.006912, allocations: 0 / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006913, allocations: 0 / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.006931, allocations: 0 / 295.5 MB, free: 3.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008185/0.00775, allocations: 0.7008 MB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.007791, allocations: 8.625 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.007845, allocations: 24.91 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.008149, allocations: 297.9 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.008172, allocations: 4.375 kB / 296.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.008184, allocations: 4.375 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.008347, allocations: 91.44 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.008359, allocations: 3.938 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.00837, allocations: 0 / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.008376, allocations: 4 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.008419, allocations: 29.56 kB / 296.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.008571, allocations: 118.3 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.008715, allocations: 74.8 kB / 296.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.008754, allocations: 29.7 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.008771, allocations: 0 / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.008926, allocations: 103.9 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.008927, allocations: 0 / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001956/0.009123, allocations: 111.2 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.009174, allocations: 84.98 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.009585, allocations: 0.5868 MB / 297.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.009604, allocations: 29.7 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.00967, allocations: 149.3 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.009717, allocations: 35.72 kB / 297.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.009756, allocations: 25.7 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.009871, allocations: 366.7 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.009893, allocations: 14.83 kB / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.009929, allocations: 40.41 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.01, allocations: 72.33 kB / 298.4 MB, free: 224 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01, allocations: 0 / 298.4 MB, free: 224 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001043/0.01011, allocations: 107.2 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01012, allocations: 4 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01013, allocations: 0 / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01014, allocations: 12 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.01023, allocations: 31.86 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01024, allocations: 0 / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.0103, allocations: 11.98 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.01031, allocations: 4 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001029/0.01041, allocations: 125.4 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.01044, allocations: 27.97 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.01059, allocations: 113.9 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01059, allocations: 0 / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.0106, allocations: 7.938 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.0106, allocations: 7.984 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.01074, allocations: 169.7 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01074, allocations: 0 / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.01077, allocations: 16.19 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01082, allocations: 51.66 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01082, allocations: 0 / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01083, allocations: 7.984 kB / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01083, allocations: 4 kB / 299.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01084, allocations: 3.938 kB / 299.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.01095, allocations: 127.3 kB / 299.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01097, allocations: 8 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.01101, allocations: 11.92 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.01105, allocations: 7.984 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01106, allocations: 15.86 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.01129, allocations: 315.2 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01129, allocations: 0 / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.01144, allocations: 47.94 kB / 299.7 MB, free: 14.93 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001386/0.01282, allocations: 0.5483 MB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01294, allocations: 60.77 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.01296, allocations: 7.984 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.013, allocations: 32.78 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01326, allocations: 98.19 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.01407, allocations: 0.6429 MB / 301 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.927e-05/0.01416, allocations: 132.2 kB / 301.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.701e-05/0.01422, allocations: 39.45 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01433, allocations: 103.3 kB / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01433, allocations: 0 / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Templates: time 0.006561/0.02089, allocations: 4.31 MB / 305.6 MB, free: 9.301 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.2457180228084326]