Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0009752/0.0009752, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.000943/0.000943, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.974/0.974, allocations: 177.1 MB / 205 MB, free: 5.621 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.2598/0.2598, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.499e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002743/0.002778, allocations: 1.638 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004288, allocations: 1.282 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.004372, allocations: 4 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.004734, allocations: 27.62 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.005162, allocations: 87.55 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.005511, allocations: 107.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.005699, allocations: 67.81 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.005851, allocations: 15.94 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.005931, allocations: 31.91 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.006048, allocations: 27.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.006068, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.006251, allocations: 95.81 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.006313, allocations: 15.92 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.006352, allocations: 15.92 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.006642, allocations: 127.6 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.006647, allocations: 4 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006648, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.006654, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.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.0005593/0.007214, allocations: 435.9 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.007277, allocations: 12.03 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.00736, allocations: 8.891 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.00759, allocations: 143.7 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.007606, allocations: 384 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.007638, allocations: 4.375 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.007867, allocations: 96.03 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.007887, allocations: 4.188 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.007907, allocations: 16.05 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.00792, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.007963, allocations: 7.984 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.008433, allocations: 275.8 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.008669, allocations: 43.05 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.008699, allocations: 19.62 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.008726, allocations: 3.938 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.00876, allocations: 33.39 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.008762, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004667/0.009228, allocations: 105.5 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.009275, allocations: 81.11 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.009402, allocations: 195.6 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.009417, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.009475, allocations: 146.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.009499, allocations: 19.86 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.009535, allocations: 19.38 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.009687, allocations: 0.4923 MB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.009717, allocations: 12 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.009761, allocations: 49.06 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.009812, allocations: 23.69 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009814, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.788e-05/0.009912, allocations: 65.56 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.009932, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.009939, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.00996, allocations: 8.031 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.01003, allocations: 11.98 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01004, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.01006, allocations: 3.953 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01007, allocations: 4 kB / 383.9 MB, free: 12.51 MB / 362.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 (5): * Single equations (assignments): 5 * 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 8.634e-05/0.01015, allocations: 156.6 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.01018, allocations: 15.89 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.01032, allocations: 74 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01033, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01033, allocations: 4 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01033, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.01061, allocations: 321.7 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01061, allocations: 64 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.01066, allocations: 19.92 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01066, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01067, allocations: 8 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01067, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01068, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.0108, allocations: 203.8 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.01083, allocations: 11.95 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01085, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.01089, allocations: 7.984 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01093, allocations: 3.938 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.01093, allocations: 4 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.705e-05/0.01101, allocations: 153 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01101, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01123, allocations: 35.88 kB / 384.9 MB, free: 11.43 MB / 362.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 (5): * Single equations (assignments): 5 * 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.001176/0.01241, allocations: 483.7 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.01263, allocations: 31.67 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01264, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.01267, allocations: 23.67 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01291, allocations: 31.8 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01331, allocations: 177.9 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.01335, allocations: 66.39 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.0134, allocations: 11.98 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.01344, allocations: 16.5 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01344, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.004235/0.01767, allocations: 2.023 MB / 387.8 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.087412355002016]