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.002863/0.002863, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.003427/0.003427, allocations: 169.2 kB / 23.53 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.691/1.691, allocations: 158.6 MB / 185.3 MB, free: 2.895 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.2356/0.2356, allocations: 32.38 MB / 270 MB, free: 14.76 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.435e-06/2.435e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.661e-05/4.904e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003804/0.003853, allocations: 1.669 MB / 348.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.005271, allocations: 0.7649 MB / 349.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.005343, allocations: 4 kB / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.005712, allocations: 59.73 kB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.005977, allocations: 75.59 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.006253, allocations: 83.72 kB / 349.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.006433, allocations: 99.67 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.006475, allocations: 4 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.006639, allocations: 59.81 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.006748, allocations: 35.89 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.006773, allocations: 4 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.006866, allocations: 31.94 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.006927, allocations: 27.84 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.006976, allocations: 19.92 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.007177, allocations: 99.58 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00718, allocations: 0 / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007181, allocations: 8 kB / 350.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007186, allocations: 0 / 350.1 MB, free: 6.672 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.0005181/0.007704, allocations: 431.7 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.007738, allocations: 8.031 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.007798, allocations: 12.89 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.008009, allocations: 140.4 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.008026, allocations: 8.375 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.008038, allocations: 384 / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.008177, allocations: 54.17 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008188, allocations: 3.938 kB / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008198, allocations: 4 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.008202, allocations: 0 / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.008274, allocations: 8 kB / 350.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.008462, allocations: 148.6 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.008653, allocations: 63.03 kB / 350.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.008715, allocations: 19.69 kB / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.008734, allocations: 0 / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.008886, allocations: 76.94 kB / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.008888, allocations: 0 / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003397/0.009227, allocations: 101.6 kB / 351.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.009253, allocations: 51.41 kB / 351.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.009447, allocations: 236.1 kB / 351.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.009459, allocations: 29.7 kB / 351.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.00951, allocations: 146.9 kB / 351.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.009545, allocations: 23.88 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.009594, allocations: 27.38 kB / 351.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.00968, allocations: 0.5 MB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.009734, allocations: 8 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.009802, allocations: 39.36 kB / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.00991, allocations: 47.36 kB / 352.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.009912, allocations: 0 / 352.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001851/0.0101, allocations: 81.89 kB / 352.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01011, allocations: 4 kB / 352.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01012, allocations: 3.938 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01013, allocations: 0 / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01024, allocations: 16 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01024, allocations: 3.984 kB / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.0103, allocations: 0 / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01031, allocations: 8 kB / 352.3 MB, free: 4.184 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 7.774e-05/0.01039, allocations: 168.5 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.01042, allocations: 19.91 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.01064, allocations: 86.08 kB / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01065, allocations: 3.984 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.01065, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01066, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01078, allocations: 148.6 kB / 352.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01078, allocations: 0 / 352.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.01081, allocations: 4 kB / 352.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01082, allocations: 0 / 352.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01083, allocations: 8 kB / 352.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01083, allocations: 7.875 kB / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01083, allocations: 0 / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.01104, allocations: 132.3 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01106, allocations: 7.891 kB / 352.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.01109, allocations: 4 kB / 352.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.01114, allocations: 7.922 kB / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.01119, allocations: 8 kB / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.01121, allocations: 0 / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.01131, allocations: 172 kB / 353.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01131, allocations: 0 / 353.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.01167, allocations: 23.98 kB / 353.1 MB, free: 3.324 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.003898/0.01557, allocations: 438.3 kB / 353.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.01581, allocations: 47.61 kB / 353.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01581, allocations: 0 / 353.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.0159, allocations: 31.67 kB / 353.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.01633, allocations: 36.97 kB / 353.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.01686, allocations: 197.3 kB / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.522e-05/0.01694, allocations: 95.31 kB / 353.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.01699, allocations: 12.67 kB / 353.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.01704, allocations: 16.5 kB / 354 MB, free: 2.516 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01704, allocations: 0 / 354 MB, free: 2.516 MB / 282.7 MB Notification: Performance of Templates: time 0.006429/0.02347, allocations: 1.602 MB / 355.6 MB, free: 0.9297 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] 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.604572760057636]