Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001843/0.001843, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001347/0.001347, allocations: 167.8 kB / 23.96 MB, free: 4.141 MB / 14.72 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.383/1.383, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1982/0.1982, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.267e-05, allocations: 2.281 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002814/0.002837, allocations: 1.719 MB / 441.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.004527, allocations: 0.9626 MB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.004582, allocations: 4 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.004819, allocations: 47.75 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.005104, allocations: 91.48 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.005293, allocations: 87.53 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.00546, allocations: 103.7 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.005534, allocations: 4 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.005641, allocations: 63.75 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.005709, allocations: 23.92 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.005729, allocations: 4 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.005816, allocations: 43.97 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.005867, allocations: 23.92 kB / 443.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.00591, allocations: 19.88 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.006108, allocations: 119.6 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.006115, allocations: 7.938 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006115, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006119, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 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.0005051/0.006624, allocations: 345.5 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.006656, allocations: 12.03 kB / 443.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.006702, allocations: 16.84 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.006904, allocations: 150.3 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.006915, allocations: 4.375 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.006932, allocations: 4.375 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.007066, allocations: 54.23 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.00708, allocations: 7.875 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.007088, allocations: 0 / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.007098, allocations: 3.984 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.007172, allocations: 23.92 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.007498, allocations: 236.5 kB / 444.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.007675, allocations: 54.69 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.007737, allocations: 28.78 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.007747, allocations: 0 / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.007902, allocations: 71.33 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.007903, allocations: 0 / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.008465, allocations: 177.3 kB / 444.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.008524, allocations: 59.39 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.008744, allocations: 202.2 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.00877, allocations: 29.7 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.008848, allocations: 100.1 kB / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.00888, allocations: 27.8 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.008927, allocations: 25.72 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.009085, allocations: 326.8 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.009147, allocations: 20 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.009227, allocations: 33.7 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.00937, allocations: 77.62 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.00937, allocations: 0 / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002199/0.00959, allocations: 101.6 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.009604, allocations: 4.031 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.009612, allocations: 8 kB / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.009627, allocations: 0 / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.009721, allocations: 20.11 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009725, allocations: 0 / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.009772, allocations: 12.31 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.009782, allocations: 4 kB / 445.7 MB, free: 2.344 MB / 366.1 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 0.0001103/0.009892, allocations: 130.4 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.009919, allocations: 7.953 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.01018, allocations: 131.1 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01019, allocations: 4 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.01019, allocations: 0 / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01019, allocations: 0 / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.01066, allocations: 362.8 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01066, allocations: 0 / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.0107, allocations: 8 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.0107, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01071, allocations: 4 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01072, allocations: 0 / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.01072, allocations: 7.922 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.01099, allocations: 212.3 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01101, allocations: 15.91 kB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01103, allocations: 0 / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.01111, allocations: 11.92 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01114, allocations: 4 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.01116, allocations: 11.98 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.0113, allocations: 148.2 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0113, allocations: 0 / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.01155, allocations: 31.92 kB / 446.8 MB, free: 1.199 MB / 366.1 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.00179/0.01334, allocations: 490 kB / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01355, allocations: 67.89 kB / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01355, allocations: 0 / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.01364, allocations: 36.05 kB / 447.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.01401, allocations: 33.94 kB / 447.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.01454, allocations: 230.1 kB / 447.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01465, allocations: 96.3 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.0147, allocations: 12.97 kB / 447.7 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.01474, allocations: 20.5 kB / 447.7 MB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01474, allocations: 0 / 447.7 MB, free: 404 kB / 366.1 MB Notification: Performance of Templates: time 0.1777/0.1924, allocations: 1.844 MB / 449.6 MB, free: 21.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.492466937750578]