Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001689/0.001689, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002756/0.004444, allocations: 447.8 kB / 10.35 MB, free: 348 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.001495/0.001495, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00217/0.003664, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.022/1.022, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1751/1.197, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] 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.124/0.124, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01885/0.1428, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.819e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00224/0.002268, allocations: 1.77 MB / 269.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004105, allocations: 1.556 MB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.004205, allocations: 3.938 kB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.004471, allocations: 43.7 kB / 270.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.004687, allocations: 59.62 kB / 270.7 MB, free: 3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.004951, allocations: 83.7 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.005167, allocations: 95.7 kB / 270.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.005292, allocations: 8.234 kB / 270.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.005457, allocations: 83.75 kB / 271 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.005583, allocations: 31.89 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.005603, allocations: 4 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.005738, allocations: 55.92 kB / 271.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.005779, allocations: 11.94 kB / 271.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.005809, allocations: 15.94 kB / 271.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.005992, allocations: 107.6 kB / 271.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.00601, allocations: 7.938 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00601, allocations: 3.938 kB / 271.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.006026, allocations: 4 kB / 271.2 MB, free: 2.496 MB / 266.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.0005262/0.006552, allocations: 316 kB / 271.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.006591, allocations: 12.03 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.006629, allocations: 4.938 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.006805, allocations: 141.6 kB / 271.7 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.006825, allocations: 4.359 kB / 271.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006843, allocations: 4.375 kB / 271.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.007006, allocations: 105.1 kB / 271.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.007021, allocations: 3.938 kB / 271.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.007029, allocations: 0 / 271.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.007036, allocations: 4 kB / 271.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.007074, allocations: 18.81 kB / 271.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.007344, allocations: 162 kB / 272 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007445, allocations: 81.3 kB / 272.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.007467, allocations: 8.859 kB / 272.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.007479, allocations: 4 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.007594, allocations: 78.08 kB / 272.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.007595, allocations: 0 / 272.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003293/0.007924, allocations: 117.5 kB / 272.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.007957, allocations: 59.34 kB / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.008061, allocations: 156.2 kB / 272.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.00808, allocations: 25.7 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.008121, allocations: 95.97 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.008154, allocations: 27.78 kB / 272.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.008193, allocations: 25.7 kB / 272.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008304, allocations: 322.8 kB / 273 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.008318, allocations: 6.828 kB / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.008359, allocations: 56.27 kB / 273 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.008409, allocations: 48.48 kB / 273.1 MB, free: 460 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008411, allocations: 0 / 273.1 MB, free: 460 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.051e-05/0.008491, allocations: 68.38 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.00851, allocations: 8 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.008516, allocations: 3.984 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.008525, allocations: 0 / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.0086, allocations: 23.98 kB / 273.2 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.008604, allocations: 0 / 273.2 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.008634, allocations: 4 kB / 273.2 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008639, allocations: 0 / 273.2 MB, free: 344 kB / 266.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.382e-05/0.008713, allocations: 124.7 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.008724, allocations: 11.88 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.008832, allocations: 78.39 kB / 273.4 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008834, allocations: 4 kB / 273.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.008836, allocations: 0 / 273.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008841, allocations: 0 / 273.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.009104, allocations: 287.4 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009106, allocations: 0 / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.009136, allocations: 15.94 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.00915, allocations: 15.97 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009152, allocations: 0 / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.00916, allocations: 4 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.009163, allocations: 4.375 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009164, allocations: 0 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.009271, allocations: 211 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.00929, allocations: 8 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.009328, allocations: 7.984 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.009351, allocations: 7.938 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.009364, allocations: 3.984 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.009396, allocations: 43.66 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009396, allocations: 0 / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.009552, allocations: 31.92 kB / 274 MB, free: 15.43 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.001369/0.01092, allocations: 0.6878 MB / 274.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01102, allocations: 48.72 kB / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.01103, allocations: 0 / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.01106, allocations: 28.78 kB / 274.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.01124, allocations: 39.91 kB / 274.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.01166, allocations: 206.3 kB / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.0117, allocations: 63.34 kB / 275.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.01174, allocations: 20.78 kB / 275.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.01181, allocations: 71.36 kB / 275.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01181, allocations: 0 / 275.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of Templates: time 0.003698/0.01551, allocations: 2.344 MB / 277.5 MB, free: 11.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.029684607870877]