Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001002/0.001002, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.0009345/0.0009345, allocations: 161.5 kB / 25.61 MB, free: 8.578 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 0.9823/0.9823, allocations: 177.1 MB / 206 MB, free: 4.52 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.1355/0.1355, allocations: 32.8 MB / 295.4 MB, free: 15.41 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.04e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002631/0.002672, allocations: 1.63 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006677/0.00334, allocations: 0.5491 MB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.003399, allocations: 0 / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.003611, allocations: 27.78 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.003858, allocations: 83.56 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.004119, allocations: 107.7 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004254, allocations: 79.69 kB / 379.8 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.004344, allocations: 15.86 kB / 379.8 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.004402, allocations: 31.91 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.004474, allocations: 27.91 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.00449, allocations: 4 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.004618, allocations: 99.75 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.004663, allocations: 15.92 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.004684, allocations: 8 kB / 380 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004861, allocations: 143.5 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004863, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004864, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004868, allocations: 8 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003089/0.005177, allocations: 431.8 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.005212, allocations: 15.97 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.005248, allocations: 8.891 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005366, allocations: 136.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.005374, allocations: 384 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.005394, allocations: 4.375 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005502, allocations: 100 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005512, allocations: 192 / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.00552, allocations: 8.125 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.005525, allocations: 3.938 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.005547, allocations: 12 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.005797, allocations: 268.4 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.005849, allocations: 42.98 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.005867, allocations: 15.69 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.005882, allocations: 0 / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.005901, allocations: 37.39 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005902, allocations: 0 / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002894/0.006192, allocations: 113.5 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.006214, allocations: 81.11 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.006298, allocations: 199.9 kB / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-06/0.006303, allocations: 25.7 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.006337, allocations: 142.9 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.006354, allocations: 23.78 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.006383, allocations: 27.38 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.006426, allocations: 0.4923 MB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.006442, allocations: 8 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.006484, allocations: 53.06 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.00653, allocations: 31.61 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006531, allocations: 0 / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.638e-05/0.006628, allocations: 73.84 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006642, allocations: 8 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.006649, allocations: 0 / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00666, allocations: 3.984 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.006741, allocations: 12 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006745, allocations: 4.062 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.006772, allocations: 11.92 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.006778, allocations: 0 / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.576e-05/0.006834, allocations: 164.5 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.006859, allocations: 11.89 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.006987, allocations: 82.41 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00699, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.006993, allocations: 288 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.006996, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.007242, allocations: 321.9 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.007246, allocations: 7.984 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.00729, allocations: 11.98 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.007295, allocations: 4 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.0073, allocations: 0 / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007302, allocations: 0 / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007304, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007408, allocations: 215.8 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.007423, allocations: 15.95 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.007436, allocations: 0 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.007473, allocations: 8 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.007505, allocations: 7.984 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.00751, allocations: 0 / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.795e-05/0.007557, allocations: 152.7 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.007558, allocations: 0 / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000234/0.007792, allocations: 39.88 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009965/0.008788, allocations: 0.4883 MB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.901e-05/0.008877, allocations: 35.61 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008879, allocations: 0 / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.0089, allocations: 31.66 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.009103, allocations: 33 kB / 384.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.009387, allocations: 172.2 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.332e-05/0.009411, allocations: 64.2 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4e-05/0.009451, allocations: 13.03 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.009508, allocations: 98.17 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009509, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003447/0.01296, allocations: 2.268 MB / 386.7 MB, free: 16.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.2632150249555707]