Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001876/0.001876, allocations: 83.38 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.002164/0.002164, allocations: 168.2 kB / 23.96 MB, free: 4.148 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.548/1.548, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2294/0.2294, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.346e-05, allocations: 2.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003064/0.003087, allocations: 1.723 MB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.00494, allocations: 0.9704 MB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.005023, allocations: 3.938 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.005383, allocations: 83.64 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.005741, allocations: 115.5 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.005953, allocations: 83.59 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.006172, allocations: 115.6 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.006264, allocations: 11.98 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.006392, allocations: 75.75 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.006517, allocations: 51.88 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.00654, allocations: 4 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.006655, allocations: 47.91 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.006721, allocations: 19.92 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.006778, allocations: 23.81 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.007016, allocations: 127.6 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007019, allocations: 0 / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00702, allocations: 0 / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.007024, allocations: 0 / 446.2 MB, free: 1.84 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.0006362/0.00766, allocations: 361.4 kB / 446.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.007697, allocations: 8.031 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.007749, allocations: 16.84 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.008001, allocations: 157.5 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.008015, allocations: 384 / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.008037, allocations: 4.375 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.008199, allocations: 54.23 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.008214, allocations: 3.938 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.008231, allocations: 7.969 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.008236, allocations: 0 / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.008324, allocations: 27.98 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.008709, allocations: 232.5 kB / 447.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.008908, allocations: 54.67 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.008969, allocations: 24.8 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.008985, allocations: 0 / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.009153, allocations: 75.31 kB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.009154, allocations: 0 / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006246/0.009779, allocations: 177.4 kB / 447.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.009828, allocations: 59.34 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.01008, allocations: 219.6 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.0101, allocations: 33.7 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.01018, allocations: 108.1 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.01022, allocations: 23.81 kB / 447.8 MB, free: 68 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.01026, allocations: 25.7 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1932/0.2034, allocations: 326.8 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2036, allocations: 14.78 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.2037, allocations: 40.16 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2038, allocations: 66.7 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2038, allocations: 0 / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002362/0.204, allocations: 108 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2041, allocations: 5.594 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2041, allocations: 6.688 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2041, allocations: 1.75 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2042, allocations: 19.7 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.2042, allocations: 5.25 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.2042, allocations: 2.031 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.2043, allocations: 3.094 kB / 448.4 MB, free: 18.97 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 9.756e-05/0.2044, allocations: 132.7 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.2044, allocations: 13.89 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.2046, allocations: 119.3 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2047, allocations: 3.438 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2047, allocations: 3.938 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2047, allocations: 1.734 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.2051, allocations: 358.3 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2051, allocations: 0 / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.2051, allocations: 14.55 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2051, allocations: 1.281 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2051, allocations: 5.953 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2051, allocations: 1.25 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2052, allocations: 0.75 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.2054, allocations: 215.3 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.2054, allocations: 15.58 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2054, allocations: 6.625 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.2055, allocations: 6.219 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2056, allocations: 14.78 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.2056, allocations: 4.406 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.2057, allocations: 171.5 kB / 449.5 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2057, allocations: 1.125 kB / 449.5 MB, free: 18.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.206, allocations: 23 kB / 449.5 MB, free: 18.35 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.001953/0.208, allocations: 0.4953 MB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2083, allocations: 64.95 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2083, allocations: 0 / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.2083, allocations: 29.53 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.2088, allocations: 28.56 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.2094, allocations: 256.5 kB / 450.4 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2095, allocations: 102.3 kB / 450.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.2096, allocations: 12.2 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.2096, allocations: 17.05 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2096, allocations: 2.406 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006006/0.2156, allocations: 1.857 MB / 452.4 MB, free: 17.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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: 5.055031754076481]