Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.002115/0.002115, allocations: 92.97 kB / 20.21 MB, free: 4.203 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.002257/0.002257, allocations: 169.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3246/0.3246, allocations: 32.39 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.299e-05/4.558e-05, allocations: 6.25 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003423/0.003468, allocations: 1.703 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.004841, allocations: 0.7843 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.00493, allocations: 0 / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.005309, allocations: 35.77 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.005558, allocations: 55.64 kB / 349.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.00581, allocations: 95.69 kB / 349.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005998, allocations: 87.7 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.006131, allocations: 16.2 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.00624, allocations: 51.78 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.006343, allocations: 23.92 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.006369, allocations: 4 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.006469, allocations: 43.91 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.006539, allocations: 19.92 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.006593, allocations: 15.94 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.006832, allocations: 107.6 kB / 350 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.006837, allocations: 0 / 350 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006838, allocations: 4 kB / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.006845, allocations: 3.938 kB / 350.1 MB, free: 6.656 MB / 282.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.0006887/0.007534, allocations: 431.7 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.007579, allocations: 12.03 kB / 350.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.007649, allocations: 8.891 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.007884, allocations: 156.9 kB / 350.6 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.007902, allocations: 384 / 350.6 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.007928, allocations: 4.375 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.008093, allocations: 61.61 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.008108, allocations: 0 / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.008122, allocations: 4 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008129, allocations: 0 / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.00822, allocations: 23.92 kB / 350.7 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.008663, allocations: 287.7 kB / 351 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.008851, allocations: 59.16 kB / 351.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.008908, allocations: 23.67 kB / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.008933, allocations: 7.938 kB / 351.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.009102, allocations: 73.05 kB / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.009103, allocations: 0 / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006435/0.009747, allocations: 173.4 kB / 351.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.009791, allocations: 55.39 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.009955, allocations: 221.8 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.009971, allocations: 29.7 kB / 351.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.01004, allocations: 154.8 kB / 351.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.01007, allocations: 23.84 kB / 351.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.01013, allocations: 31.38 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.01027, allocations: 0.504 MB / 352.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.01032, allocations: 15.98 kB / 352.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.01038, allocations: 39.38 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.01047, allocations: 71.3 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01048, allocations: 0 / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.01063, allocations: 105.6 kB / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01065, allocations: 4 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01065, allocations: 3.984 kB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.01067, allocations: 0 / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01077, allocations: 16 kB / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01078, allocations: 0 / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.01083, allocations: 11.92 kB / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.01084, allocations: 4 kB / 352.6 MB, free: 3.859 MB / 282.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 0.0001135/0.01095, allocations: 173.5 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.01098, allocations: 19.84 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.01123, allocations: 114.6 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01124, allocations: 384 / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.01124, allocations: 0 / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01125, allocations: 0 / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.01163, allocations: 413 kB / 353.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01163, allocations: 0 / 353.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.01167, allocations: 19.92 kB / 353.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01167, allocations: 0 / 353.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01169, allocations: 4.031 kB / 353.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01169, allocations: 7.938 kB / 353.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01169, allocations: 0 / 353.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.0119, allocations: 263.5 kB / 353.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.01192, allocations: 11.91 kB / 353.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01194, allocations: 3.984 kB / 353.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.01201, allocations: 11.94 kB / 353.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.01206, allocations: 7.984 kB / 353.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01208, allocations: 4 kB / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.01217, allocations: 163.2 kB / 353.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 0 / 353.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01243, allocations: 24 kB / 353.8 MB, free: 2.559 MB / 282.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.003215/0.01565, allocations: 499.6 kB / 354.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.01585, allocations: 71.59 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01585, allocations: 0 / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.01594, allocations: 43.61 kB / 354.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.01631, allocations: 33.45 kB / 354.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.0168, allocations: 209 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.125e-05/0.01689, allocations: 83.31 kB / 354.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01694, allocations: 24.91 kB / 354.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01698, allocations: 20.5 kB / 354.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01698, allocations: 0 / 354.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Templates: time 0.00556/0.02254, allocations: 1.816 MB / 356.6 MB, free: 15.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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: 6.066803636029363]