Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001082/0.001082, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001698/0.001698, allocations: 166.6 kB / 24.99 MB, free: 8.789 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 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2983/0.2983, allocations: 34.25 MB / 296 MB, free: 0.7812 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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.381e-05, allocations: 4.281 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002436/0.00247, allocations: 1.766 MB / 379.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003667, allocations: 1.001 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.003739, allocations: 0 / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.004023, allocations: 39.72 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.004307, allocations: 99.62 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.004454, allocations: 83.59 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.00461, allocations: 107.6 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.004703, allocations: 11.97 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.00478, allocations: 47.84 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.004848, allocations: 23.92 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004865, allocations: 7.984 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.004947, allocations: 43.92 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.004997, allocations: 23.86 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.005039, allocations: 23.92 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.005203, allocations: 95.59 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005205, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005206, allocations: 4 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.00521, allocations: 0 / 381.5 MB, free: 15.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004524/0.005663, allocations: 447.9 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.0057, allocations: 11.97 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.005748, allocations: 16.89 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.005921, allocations: 148.4 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.005939, allocations: 384 / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.005957, allocations: 384 / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006081, allocations: 66.88 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.006091, allocations: 3.938 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.0061, allocations: 4 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.006109, allocations: 4 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.006146, allocations: 11.98 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.006441, allocations: 279.8 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006547, allocations: 63.09 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.006579, allocations: 19.62 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.00659, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.006696, allocations: 69.03 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.006697, allocations: 4 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004138/0.00711, allocations: 165.3 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.007144, allocations: 51.41 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007279, allocations: 226.6 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007292, allocations: 25.7 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.00735, allocations: 150.9 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.007378, allocations: 27.78 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.007412, allocations: 27.38 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.007535, allocations: 0.4962 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007561, allocations: 11.98 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.007601, allocations: 43.3 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.007663, allocations: 47.31 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007664, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001036/0.007768, allocations: 101.6 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.007779, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007784, allocations: 0 / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007796, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.007874, allocations: 15.98 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007878, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.007906, allocations: 8.031 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007911, allocations: 3.938 kB / 384 MB, free: 12.76 MB / 362.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 8.332e-05/0.007994, allocations: 176 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.00801, allocations: 11.95 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.008159, allocations: 107.1 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008161, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008165, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008169, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.008466, allocations: 392.9 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008468, allocations: 0 / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.008503, allocations: 12.03 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.008508, allocations: 4 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.00852, allocations: 8.359 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008522, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.008525, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.008723, allocations: 255.4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.00874, allocations: 11.91 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.008767, allocations: 4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.008838, allocations: 4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.008877, allocations: 7.984 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.008893, allocations: 8 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.009001, allocations: 167.8 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009001, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000298/0.009299, allocations: 27.92 kB / 385.2 MB, free: 11.5 MB / 362.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.001098/0.0104, allocations: 429 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01054, allocations: 55.64 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01055, allocations: 3.938 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.01059, allocations: 31.8 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.01085, allocations: 38.42 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.0112, allocations: 214.2 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.01125, allocations: 71.27 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.01128, allocations: 8.984 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.01131, allocations: 20.48 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01131, allocations: 0 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003573/0.01488, allocations: 1.866 MB / 387.9 MB, free: 8.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.2540962358471006]