Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.001514/0.001514, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.002057/0.002057, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 18.57 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.11/1.11, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1571/0.1571, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.035e-05, allocations: 10.19 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003102/0.003132, allocations: 1.737 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.004376, allocations: 0.7998 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.00446, allocations: 0 / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.004823, allocations: 51.75 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.005107, allocations: 59.69 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.005377, allocations: 91.69 kB / 350.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.005564, allocations: 87.7 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005669, allocations: 8.234 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.005785, allocations: 59.75 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.005873, allocations: 19.92 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.005896, allocations: 4 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.005997, allocations: 47.92 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.006056, allocations: 27.91 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.006103, allocations: 19.88 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.006309, allocations: 103.6 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006312, allocations: 0 / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006313, allocations: 7.938 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006319, allocations: 0 / 350.9 MB, free: 6.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004953/0.006814, allocations: 451.8 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.006863, allocations: 8.031 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.006921, allocations: 20.78 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.007111, allocations: 156.4 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.007131, allocations: 4.375 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.007154, allocations: 4.375 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.007299, allocations: 62.94 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.007311, allocations: 3.938 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.007322, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.00733, allocations: 3.938 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.007375, allocations: 11.98 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.007715, allocations: 291.8 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.007842, allocations: 55.17 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.007878, allocations: 23.55 kB / 351.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.007891, allocations: 4 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.007998, allocations: 69.05 kB / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.007999, allocations: 0 / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004623/0.008462, allocations: 157.7 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.008491, allocations: 51.41 kB / 352.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.008649, allocations: 245.9 kB / 352.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.008666, allocations: 29.7 kB / 352.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.008713, allocations: 150.9 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.008744, allocations: 31.78 kB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.008782, allocations: 31.38 kB / 352.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.008852, allocations: 0.4962 MB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.008882, allocations: 15.98 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.008922, allocations: 35.31 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.00899, allocations: 55.38 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008991, allocations: 0 / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.009127, allocations: 89.53 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.009144, allocations: 4.031 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.00915, allocations: 4 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.009168, allocations: 7.984 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.009263, allocations: 15.98 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.00927, allocations: 0 / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.009309, allocations: 8 kB / 353.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.009317, allocations: 0 / 353.4 MB, free: 3.445 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 (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.734e-05/0.009395, allocations: 176.4 kB / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.00942, allocations: 15.91 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.00962, allocations: 107.3 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.009623, allocations: 4 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009627, allocations: 0 / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.009631, allocations: 3.938 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.009949, allocations: 393 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009951, allocations: 0 / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.009986, allocations: 11.94 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.00999, allocations: 4 kB / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01, allocations: 3.984 kB / 354.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01, allocations: 0 / 354.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01, allocations: 0 / 354.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.01015, allocations: 275.4 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.01017, allocations: 11.91 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01019, allocations: 0 / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.01025, allocations: 4 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.01029, allocations: 7.984 kB / 354.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.0103, allocations: 4 kB / 354.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.01038, allocations: 183.1 kB / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01038, allocations: 0 / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.01061, allocations: 27.94 kB / 354.6 MB, free: 2.148 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.0009026/0.01151, allocations: 441.8 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01164, allocations: 59.53 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01164, allocations: 0 / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.01168, allocations: 35.61 kB / 355.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01193, allocations: 32.28 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.01231, allocations: 225.5 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.01235, allocations: 79.27 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01238, allocations: 20.55 kB / 355.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.01241, allocations: 20.48 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01241, allocations: 0 / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Templates: time 0.003802/0.01622, allocations: 1.988 MB / 357.5 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.412016678135842]