Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001066/0.001066, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00114/0.00114, allocations: 166.5 kB / 25.61 MB, free: 8.492 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.9165/0.9165, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1408/0.1408, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.376e-05, allocations: 9.625 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001761/0.001775, allocations: 1.693 MB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.002393, allocations: 0.5646 MB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.002448, allocations: 8 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.002806, allocations: 447.1 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.003073, allocations: 303.1 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.003307, allocations: 179.5 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.003453, allocations: 179.6 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.003532, allocations: 12.22 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.003614, allocations: 123.7 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.003762, allocations: 247.6 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003775, allocations: 4 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.003841, allocations: 51.91 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.003902, allocations: 87.66 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.003931, allocations: 35.75 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004092, allocations: 219.1 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.004093, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004094, allocations: 0 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004097, allocations: 0 / 383.4 MB, free: 19.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003602/0.004458, allocations: 0.7085 MB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.004485, allocations: 16.03 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.004522, allocations: 48.66 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.00465, allocations: 248.8 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004659, allocations: 8.312 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.004673, allocations: 384 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.665e-05/0.00475, allocations: 62.89 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004758, allocations: 4.172 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004765, allocations: 8.125 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.004771, allocations: 4 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.004791, allocations: 4 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.005021, allocations: 348.2 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.005064, allocations: 39.05 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005078, allocations: 19.72 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.005092, allocations: 8.016 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.005104, allocations: 37.39 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005105, allocations: 0 / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003779/0.005483, allocations: 189.1 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.005502, allocations: 51.41 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.005744, allocations: 0.6079 MB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.00575, allocations: 29.7 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.005846, allocations: 302.7 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005864, allocations: 27.75 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.00589, allocations: 27.36 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.005954, allocations: 0.5585 MB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.005967, allocations: 7.984 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.005979, allocations: 8 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.006013, allocations: 43.59 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006014, allocations: 4 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.5e-05/0.006089, allocations: 101.3 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.006097, allocations: 8 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.006101, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.00611, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.006162, allocations: 12 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006165, allocations: 3.984 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.006189, allocations: 4 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.006193, allocations: 0 / 386.9 MB, free: 15.53 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 4.921e-05/0.006242, allocations: 168.5 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.006272, allocations: 47.67 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.006379, allocations: 113.9 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.006381, allocations: 4 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006383, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.006385, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.006623, allocations: 429.9 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006625, allocations: 0 / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.006658, allocations: 19.92 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.00666, allocations: 4 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006665, allocations: 4 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.006666, allocations: 4.031 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006667, allocations: 0 / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.768e-05/0.006745, allocations: 275.3 kB / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.006763, allocations: 31.72 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.006777, allocations: 4 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.006816, allocations: 4 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.006837, allocations: 7.984 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.00684, allocations: 7.875 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.006975, allocations: 394.7 kB / 388.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006975, allocations: 0 / 388.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.007137, allocations: 35.94 kB / 388.5 MB, free: 13.93 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008187/0.007956, allocations: 433.2 kB / 388.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.008029, allocations: 47.64 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00803, allocations: 0 / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.008051, allocations: 23.62 kB / 389 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.008264, allocations: 28.8 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.00871, allocations: 0.6021 MB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.00876, allocations: 135 kB / 389.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.008792, allocations: 17.03 kB / 389.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.008834, allocations: 82.19 kB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008834, allocations: 0 / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003432/0.01227, allocations: 1.798 MB / 391.6 MB, free: 10.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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: 2.975831309799105]