Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001884/0.001884, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.002515/0.002515, allocations: 157.7 kB / 23.52 MB, free: 0.8945 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.83/1.83, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.2448/0.2448, allocations: 32.37 MB / 270 MB, free: 14.78 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.879e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003115/0.003154, allocations: 1.645 MB / 348.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004464, allocations: 0.7571 MB / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.004541, allocations: 0 / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.004917, allocations: 67.73 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.005175, allocations: 71.61 kB / 349.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.005404, allocations: 79.7 kB / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.005581, allocations: 95.69 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.005635, allocations: 4 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005752, allocations: 63.81 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.005867, allocations: 43.89 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.005892, allocations: 4 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.005974, allocations: 31.92 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.006038, allocations: 19.86 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.006092, allocations: 15.94 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.006305, allocations: 103.6 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.00631, allocations: 0 / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.006312, allocations: 0 / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006317, allocations: 0 / 350 MB, free: 6.727 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000624/0.006941, allocations: 325.7 kB / 350.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.006986, allocations: 8.031 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.007049, allocations: 28.88 kB / 350.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.007299, allocations: 137.6 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.007333, allocations: 12.34 kB / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.007345, allocations: 384 / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.007501, allocations: 54.23 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007513, allocations: 3.938 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.007526, allocations: 0 / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.007532, allocations: 0 / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.007615, allocations: 19.92 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.00779, allocations: 133.2 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.007958, allocations: 50.62 kB / 350.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.008016, allocations: 20.84 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.008039, allocations: 0 / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.008215, allocations: 75.28 kB / 350.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.008216, allocations: 0 / 350.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003687/0.008585, allocations: 105.5 kB / 351 MB, free: 5.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.008618, allocations: 51.41 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.008768, allocations: 188.5 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.00878, allocations: 33.7 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.00882, allocations: 96.14 kB / 351.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.008856, allocations: 15.89 kB / 351.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.008891, allocations: 21.72 kB / 351.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.008969, allocations: 322.8 kB / 351.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.009016, allocations: 12 kB / 351.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.009066, allocations: 29.64 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.009157, allocations: 45.7 kB / 351.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009159, allocations: 0 / 351.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001529/0.009312, allocations: 93.56 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.009328, allocations: 8 kB / 351.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.009335, allocations: 3.938 kB / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.009359, allocations: 0 / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.009444, allocations: 8.312 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.009451, allocations: 0 / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.009495, allocations: 11.98 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.009503, allocations: 4 kB / 351.9 MB, free: 4.664 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 (7): * Single equations (assignments): 7 * 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.294e-05/0.009586, allocations: 118.8 kB / 352 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.009608, allocations: 19.94 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.009814, allocations: 102 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009816, allocations: 0 / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.009821, allocations: 0 / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009825, allocations: 4 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.009925, allocations: 129.3 kB / 352.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009927, allocations: 4 kB / 352.2 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.009952, allocations: 4 kB / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.009953, allocations: 0 / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.009963, allocations: 7.922 kB / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.009966, allocations: 3.938 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009967, allocations: 4 kB / 352.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.01016, allocations: 121 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01018, allocations: 11.89 kB / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.0102, allocations: 0 / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.01024, allocations: 15.92 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01029, allocations: 3.984 kB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.0103, allocations: 4 kB / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.0104, allocations: 144.1 kB / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0104, allocations: 0 / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01061, allocations: 16 kB / 352.6 MB, free: 3.902 MB / 282.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: 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 (6): * Single equations (assignments): 4 * 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.00183/0.01244, allocations: 442.4 kB / 353 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.0126, allocations: 47.91 kB / 353.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.0126, allocations: 0 / 353.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.01266, allocations: 16 kB / 353.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01295, allocations: 33.58 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.01336, allocations: 207.7 kB / 353.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.01342, allocations: 95.25 kB / 353.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.01347, allocations: 16.47 kB / 353.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.0135, allocations: 12.5 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0135, allocations: 3.938 kB / 353.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of Templates: time 0.004702/0.0182, allocations: 1.617 MB / 355 MB, free: 1.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.363431129022501]