Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0009858/0.0009858, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002137, 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.0007417/0.0007417, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009501/0.001692, 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.141/1.141, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.125/1.266, allocations: 53.64 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.3001/0.3001, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0295/0.3295, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.729e-05, allocations: 8.953 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.008408/0.008445, allocations: 1.82 MB / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.01022, allocations: 1.022 MB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.01033, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.01061, allocations: 51 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.01415, allocations: 99.45 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.01459, allocations: 91.53 kB / 293.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.01524, allocations: 127.7 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.01538, allocations: 7.984 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.0156, allocations: 103.7 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.01574, allocations: 39.89 kB / 294.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.01577, allocations: 4 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.01598, allocations: 63.91 kB / 294.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.01606, allocations: 27.86 kB / 294.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.01612, allocations: 19.94 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.01646, allocations: 119.5 kB / 294.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-05/0.01648, allocations: 4 kB / 294.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.01648, allocations: 0 / 294.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.01651, allocations: 4 kB / 294.3 MB, free: 4.605 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006944/0.0172, allocations: 360.3 kB / 294.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.01726, allocations: 12.03 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.01731, allocations: 8.922 kB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01757, allocations: 154.8 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.01759, allocations: 4.375 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.01762, allocations: 8.375 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.01781, allocations: 73.75 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01782, allocations: 7.938 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.01783, allocations: 0 / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.01784, allocations: 0 / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.01791, allocations: 23.91 kB / 294.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.01829, allocations: 189.9 kB / 295.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.0186, allocations: 101.2 kB / 295.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.01864, allocations: 17 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.01867, allocations: 7.984 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.01886, allocations: 78.17 kB / 295.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 3.467e-06/0.01886, allocations: 4 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007861/0.01965, allocations: 193.9 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.01987, allocations: 51.41 kB / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.02007, allocations: 180.8 kB / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.0201, allocations: 25.7 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.02015, allocations: 100.3 kB / 295.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.02021, allocations: 47.61 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.02027, allocations: 33.69 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.02039, allocations: 326.8 kB / 296.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.02043, allocations: 14.81 kB / 296.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.02047, allocations: 29.72 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.02057, allocations: 73.44 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02057, allocations: 0 / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001739/0.02074, allocations: 92.5 kB / 296.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.02076, allocations: 4 kB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02077, allocations: 0 / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.02079, allocations: 7.984 kB / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.0209, allocations: 31.91 kB / 296.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.0209, allocations: 4.031 kB / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.02094, allocations: 8 kB / 296.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.02095, allocations: 4 kB / 296.5 MB, free: 2.195 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 (15): * Single equations (assignments): 15 * 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.0001036/0.02106, allocations: 120.6 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.02108, allocations: 11.98 kB / 296.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.02131, allocations: 115.9 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.02131, allocations: 0 / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02131, allocations: 0 / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.02132, allocations: 3.984 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.02178, allocations: 358.1 kB / 297.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.02178, allocations: 0 / 297.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.02187, allocations: 31.92 kB / 297.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.0219, allocations: 15.89 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.0219, allocations: 0 / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.02192, allocations: 8 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.02192, allocations: 0 / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.02193, allocations: 4 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.02217, allocations: 250.1 kB / 297.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.0222, allocations: 7.984 kB / 297.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.02227, allocations: 8.062 kB / 297.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.02231, allocations: 11.98 kB / 297.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.02234, allocations: 11.94 kB / 297.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.51e-05/0.0224, allocations: 47.64 kB / 297.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0224, allocations: 0 / 297.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.02267, allocations: 39.92 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002349/0.02502, allocations: 0.7053 MB / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.02522, allocations: 80.34 kB / 298.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.02524, allocations: 4 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.0253, allocations: 40.78 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.0256, allocations: 48.84 kB / 298.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.02642, allocations: 281.1 kB / 298.7 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.02648, allocations: 75.69 kB / 298.8 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.02656, allocations: 29.66 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.02667, allocations: 75.36 kB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02667, allocations: 7.938 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of Templates: time 0.005059/0.03173, allocations: 2.611 MB / 301.5 MB, free: 13.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.2915844218805432]