Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0008571/0.0008571, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002118, 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.0006904/0.0006904, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009863/0.001677, 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 1.019/1.019, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.165/1.184, allocations: 52.48 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.1961/0.1961, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0219/0.218, allocations: 12.53 MB / 284.5 MB, free: 9.715 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.889e-05, allocations: 9.406 kB / 286 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003396/0.003425, allocations: 1.796 MB / 287.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004975, allocations: 0.8804 MB / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.005069, allocations: 0 / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.005355, allocations: 103.5 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005594, allocations: 87.59 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.005944, allocations: 115.5 kB / 288.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.006185, allocations: 115.7 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.00628, allocations: 4 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.006467, allocations: 99.67 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.006593, allocations: 51.88 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.006616, allocations: 4 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.006772, allocations: 59.92 kB / 289.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.006833, allocations: 31.86 kB / 289.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.006875, allocations: 15.94 kB / 289.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.007109, allocations: 111.5 kB / 289.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.007122, allocations: 0 / 289.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.007123, allocations: 4 kB / 289.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.007134, allocations: 0 / 289.4 MB, free: 4.828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000557/0.007691, allocations: 347.7 kB / 289.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.007729, allocations: 12.03 kB / 289.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.007776, allocations: 8.938 kB / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.007993, allocations: 154 kB / 289.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.008013, allocations: 8.375 kB / 289.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.00804, allocations: 4.375 kB / 289.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.008183, allocations: 65.77 kB / 290 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.008199, allocations: 7.891 kB / 290 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.008209, allocations: 4 kB / 290 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.008217, allocations: 4 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.008258, allocations: 11.98 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.008553, allocations: 169.9 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.008749, allocations: 93.3 kB / 290.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.008782, allocations: 20.84 kB / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.008794, allocations: 0 / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.008929, allocations: 66.28 kB / 290.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.008931, allocations: 0 / 290.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006211/0.009552, allocations: 181.5 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.009588, allocations: 59.39 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.009748, allocations: 192.2 kB / 290.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.009768, allocations: 25.7 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.009821, allocations: 103.9 kB / 290.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.009866, allocations: 39.72 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.009917, allocations: 25.72 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01003, allocations: 330.8 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.01006, allocations: 10.83 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.0101, allocations: 33.19 kB / 291.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.01017, allocations: 56.39 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01017, allocations: 0 / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001301/0.01031, allocations: 76.44 kB / 291.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01032, allocations: 4 kB / 291.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01033, allocations: 4.031 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.01036, allocations: 7.984 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.01048, allocations: 27.92 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.01048, allocations: 4 kB / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.01052, allocations: 0 / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.01053, allocations: 4 kB / 291.5 MB, free: 2.531 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 (13): * Single equations (assignments): 13 * 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.000106/0.01064, allocations: 124.6 kB / 291.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.01066, allocations: 8 kB / 291.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.01086, allocations: 99.03 kB / 291.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01087, allocations: 4 kB / 291.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01087, allocations: 0 / 291.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.01088, allocations: 4 kB / 291.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.01127, allocations: 328.2 kB / 292.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01128, allocations: 3.938 kB / 292.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.01134, allocations: 19.98 kB / 292.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.01136, allocations: 15.91 kB / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01136, allocations: 0 / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01137, allocations: 8 kB / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01138, allocations: 0 / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01138, allocations: 8.047 kB / 292.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01156, allocations: 227.9 kB / 292.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.01159, allocations: 11.98 kB / 292.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.01167, allocations: 4 kB / 292.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.01171, allocations: 11.98 kB / 292.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.01173, allocations: 7.938 kB / 292.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.445e-05/0.0118, allocations: 56.69 kB / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0118, allocations: 0 / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.01206, allocations: 35.92 kB / 292.5 MB, free: 1.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002239/0.01429, allocations: 0.7209 MB / 293.2 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.01444, allocations: 48.77 kB / 293.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.01445, allocations: 4 kB / 293.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.01453, allocations: 52.64 kB / 293.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.0149, allocations: 170.5 kB / 293.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.01566, allocations: 260.9 kB / 293.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.01573, allocations: 71.33 kB / 293.8 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.0158, allocations: 20.62 kB / 293.8 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.0159, allocations: 67.38 kB / 293.9 MB, free: 384 kB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.0159, allocations: 0 / 293.9 MB, free: 384 kB / 282.7 MB Notification: Performance of Templates: time 0.004488/0.02039, allocations: 2.302 MB / 296.2 MB, free: 14.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.9925610134378076]