Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.002927, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001755/0.002783, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9108/0.9108, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.178/1.089, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1326/0.1326, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02103/0.1537, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.922e-05, allocations: 6.312 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002114/0.002133, allocations: 1.787 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.003128, allocations: 0.8766 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.003198, allocations: 0 / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.003362, allocations: 39.7 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.003507, allocations: 55.64 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.003776, allocations: 115.5 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.003921, allocations: 95.66 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.21e-05/0.003993, allocations: 12.16 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004097, allocations: 71.83 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.004179, allocations: 23.92 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.004194, allocations: 4 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.004275, allocations: 43.86 kB / 289.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.004314, allocations: 23.92 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.004341, allocations: 11.94 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.004479, allocations: 91.67 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.004488, allocations: 0 / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004489, allocations: 0 / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.996e-06/0.004497, allocations: 0 / 289.2 MB, free: 5.055 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.0003063/0.004803, allocations: 316 kB / 289.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.432e-05/0.004827, allocations: 8.031 kB / 289.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.004852, allocations: 12.92 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.004969, allocations: 142.1 kB / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004981, allocations: 4.375 kB / 289.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.004996, allocations: 8.375 kB / 289.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.005072, allocations: 65.14 kB / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005079, allocations: 0 / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.005084, allocations: 0 / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.005088, allocations: 0 / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.005112, allocations: 23.92 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.005278, allocations: 162 kB / 289.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.005357, allocations: 81.3 kB / 290 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.005376, allocations: 16.8 kB / 290 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.005386, allocations: 4 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/0.005471, allocations: 70.14 kB / 290.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005472, allocations: 0 / 290.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002516/0.005724, allocations: 109.5 kB / 290.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.005748, allocations: 51.41 kB / 290.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.005834, allocations: 158.3 kB / 290.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.005847, allocations: 25.7 kB / 290.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.005879, allocations: 95.98 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.005903, allocations: 23.78 kB / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.005931, allocations: 29.7 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.006008, allocations: 326.8 kB / 290.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.006029, allocations: 14.81 kB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.00605, allocations: 21.7 kB / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.006088, allocations: 44.45 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.006089, allocations: 0 / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.504e-05/0.006154, allocations: 68.56 kB / 291 MB, free: 3.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.006164, allocations: 11.98 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.006167, allocations: 3.938 kB / 291 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.006175, allocations: 4.031 kB / 291 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.006232, allocations: 16 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006235, allocations: 0 / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.006261, allocations: 7.984 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.006264, allocations: 0 / 291.1 MB, free: 2.988 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 5.96e-05/0.006324, allocations: 124.6 kB / 291.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.006334, allocations: 7.938 kB / 291.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.006428, allocations: 78.38 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006431, allocations: 4 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006433, allocations: 0 / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.006436, allocations: 4 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.006663, allocations: 287.8 kB / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006665, allocations: 0 / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.006695, allocations: 19.98 kB / 291.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.006708, allocations: 11.95 kB / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006709, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006715, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.006717, allocations: 4 kB / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.00672, allocations: 7.875 kB / 291.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.006825, allocations: 207.1 kB / 291.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.006842, allocations: 12.02 kB / 291.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.006879, allocations: 4 kB / 291.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.006905, allocations: 11.92 kB / 291.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.006917, allocations: 3.938 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.00696, allocations: 41.91 kB / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00696, allocations: 0 / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.007109, allocations: 27.92 kB / 291.9 MB, free: 2.082 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.00129/0.008399, allocations: 0.6252 MB / 292.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.008497, allocations: 48.77 kB / 292.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.008505, allocations: 0 / 292.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.008545, allocations: 36.77 kB / 292.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.008776, allocations: 184.4 kB / 292.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.009222, allocations: 207.1 kB / 293 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.009269, allocations: 63.34 kB / 293.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.009304, allocations: 16.48 kB / 293.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.009389, allocations: 71.36 kB / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00939, allocations: 0 / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of Templates: time 0.003343/0.01273, allocations: 2.01 MB / 295.2 MB, free: 15.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.782569069415331]