Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001881/0.001881, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002122/0.002122, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.3539/0.3539, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.22e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004999/0.005041, allocations: 1.731 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.008065, allocations: 0.9976 MB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.008152, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.008551, allocations: 47.64 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.009053, allocations: 99.69 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.009387, allocations: 83.59 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.009689, allocations: 107.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.009832, allocations: 8 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.01002, allocations: 55.81 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.01013, allocations: 23.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.01016, allocations: 8 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.01032, allocations: 47.91 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.01041, allocations: 23.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.01047, allocations: 15.94 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.01083, allocations: 127.5 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01083, allocations: 4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01083, allocations: 0 / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.01084, allocations: 0 / 380.7 MB, free: 15.48 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.0009092/0.01175, allocations: 455.5 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.01181, allocations: 12.03 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.01189, allocations: 12.84 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.01225, allocations: 156.9 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.01227, allocations: 4.375 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.0123, allocations: 4.375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.0125, allocations: 58.17 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.01252, allocations: 3.938 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.01254, allocations: 4 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01254, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.01265, allocations: 11.98 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.01327, allocations: 303.8 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.01354, allocations: 63.09 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.01364, allocations: 27.62 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01366, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.01388, allocations: 77.05 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.01388, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008486/0.01473, allocations: 181.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.01481, allocations: 55.41 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.01519, allocations: 249.9 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.01522, allocations: 33.64 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.01538, allocations: 154.9 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.01546, allocations: 27.8 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.01554, allocations: 31.38 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003946/0.01594, allocations: 0.5001 MB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.01602, allocations: 19.98 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01614, allocations: 51.67 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.01635, allocations: 67.38 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01635, allocations: 0 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003441/0.01669, allocations: 117.5 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01671, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01672, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.01673, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01688, allocations: 19.98 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.01688, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.01695, allocations: 4.031 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01696, allocations: 4 kB / 383.4 MB, free: 12.59 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 0.0002016/0.01717, allocations: 174.6 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.01722, allocations: 15.91 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.01761, allocations: 119 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.01762, allocations: 7.984 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.01763, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.01763, allocations: 3.984 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.01844, allocations: 420.9 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01845, allocations: 32 / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.01851, allocations: 12 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.01852, allocations: 7.984 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01853, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01854, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.01854, allocations: 4 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.019, allocations: 267.4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.01904, allocations: 11.91 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.01907, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.01921, allocations: 7.984 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.01926, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.01929, allocations: 11.98 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.01954, allocations: 192.1 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01954, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000472/0.02001, allocations: 24 kB / 384.7 MB, free: 11.25 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.004609/0.02462, allocations: 494.5 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.02489, allocations: 67.61 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02489, allocations: 0 / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.02501, allocations: 39.83 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.02555, allocations: 42.91 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.02626, allocations: 237.8 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.02642, allocations: 100.9 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.0265, allocations: 12.97 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.02656, allocations: 16.5 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02656, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.008301/0.03486, allocations: 1.87 MB / 387.5 MB, free: 8.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.036015908932313]