Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008994/0.0008994, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009153/0.0009153, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.3119/0.3119, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 376.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.83e-05, allocations: 6.25 kB / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002851/0.002889, allocations: 1.761 MB / 378.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004243, allocations: 0.9936 MB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004348, allocations: 0 / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.004755, allocations: 87.62 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.005082, allocations: 119.4 kB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.005269, allocations: 79.55 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.005434, allocations: 119.7 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.00553, allocations: 11.98 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.005631, allocations: 67.75 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.005731, allocations: 55.86 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.005748, allocations: 8 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.005847, allocations: 43.92 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.005901, allocations: 27.86 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.00594, allocations: 19.92 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.006103, allocations: 103.6 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006105, allocations: 0 / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006106, allocations: 0 / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.00611, allocations: 7.938 kB / 380.1 MB, free: 0.8125 MB / 346.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.0004456/0.006556, allocations: 455.8 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.006607, allocations: 12.03 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.006645, allocations: 20.83 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.006796, allocations: 148.4 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.006813, allocations: 384 / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006832, allocations: 8.328 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006944, allocations: 62.88 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006954, allocations: 3.938 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.006961, allocations: 0 / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.006968, allocations: 8 kB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.006995, allocations: 11.98 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.007263, allocations: 260.4 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.462e-05/0.007358, allocations: 51.11 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.00738, allocations: 15.67 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.007397, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.086e-05/0.007488, allocations: 72.97 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.007489, allocations: 0 / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003825/0.007871, allocations: 141.4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.007899, allocations: 51.41 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.008033, allocations: 238.7 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.008048, allocations: 29.7 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.008115, allocations: 158.8 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.008144, allocations: 27.77 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.008176, allocations: 27.38 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.008314, allocations: 0.5039 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.008332, allocations: 7.984 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.008363, allocations: 39.3 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.008409, allocations: 43.36 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.00841, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.008511, allocations: 93.47 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008523, allocations: 7.984 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008528, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.008542, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.008599, allocations: 12 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.008603, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.008631, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.008636, allocations: 3.984 kB / 382.5 MB, free: 14.11 MB / 362.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.972e-05/0.008716, allocations: 172.5 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.008732, allocations: 15.89 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008865, allocations: 107.2 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008867, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.008868, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008872, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.009128, allocations: 366 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009129, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.009153, allocations: 15.98 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009155, allocations: 4.031 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.009162, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009163, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009164, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.009305, allocations: 255.4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.009317, allocations: 7.953 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.009334, allocations: 7.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.009374, allocations: 4 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.009399, allocations: 3.984 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.00941, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.956e-05/0.00949, allocations: 177 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00949, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.009661, allocations: 31.92 kB / 383.7 MB, free: 12.88 MB / 362.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.0009263/0.01059, allocations: 438.3 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.01068, allocations: 43.66 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01068, allocations: 0 / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.01072, allocations: 31.62 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01094, allocations: 39.98 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.01127, allocations: 236.6 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.01131, allocations: 79.27 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.951e-05/0.01135, allocations: 21.27 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.01143, allocations: 86.19 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01143, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003689/0.01512, allocations: 2.051 MB / 386.7 MB, free: 9.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.2005998506210744]