Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.00269/0.00269, allocations: 96.97 kB / 20.21 MB, free: 4.203 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.003217/0.003217, allocations: 165.2 kB / 23.52 MB, free: 0.8984 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.511/1.511, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.2446/0.2446, allocations: 32.37 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.617e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002952/0.002988, allocations: 1.708 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004339, allocations: 0.7843 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.004423, allocations: 0 / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.004815, allocations: 47.7 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.005064, allocations: 55.7 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.005321, allocations: 91.69 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.005496, allocations: 95.69 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005612, allocations: 8.234 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.005719, allocations: 51.77 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.00581, allocations: 27.91 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.005838, allocations: 4 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.005943, allocations: 39.92 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.006012, allocations: 27.91 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.006063, allocations: 19.94 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.006293, allocations: 123.5 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006297, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006297, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.006305, allocations: 0 / 350.1 MB, free: 6.629 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.0006704/0.006975, allocations: 443.6 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.007021, allocations: 12.02 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.00709, allocations: 16.84 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.007307, allocations: 154.5 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.007325, allocations: 384 / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.007351, allocations: 4.375 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.007495, allocations: 58.17 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.007511, allocations: 3.938 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.007524, allocations: 4 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007531, allocations: 4 kB / 350.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.007605, allocations: 11.98 kB / 350.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.007984, allocations: 295.8 kB / 351.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.008153, allocations: 67.09 kB / 351.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.008206, allocations: 23.62 kB / 351.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.008227, allocations: 3.984 kB / 351.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.008366, allocations: 81 kB / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.008367, allocations: 0 / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.008938, allocations: 165.4 kB / 351.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.008973, allocations: 51.41 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.009125, allocations: 251.3 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.009139, allocations: 33.7 kB / 351.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.009196, allocations: 162.8 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.009225, allocations: 23.8 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.009266, allocations: 35.36 kB / 351.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.00937, allocations: 0.4962 MB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.009417, allocations: 27.92 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.009472, allocations: 39.38 kB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.009564, allocations: 71.28 kB / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009565, allocations: 0 / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.009726, allocations: 109.5 kB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009741, allocations: 4 kB / 352.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.009747, allocations: 3.984 kB / 352.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.009767, allocations: 4 kB / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.009854, allocations: 12.38 kB / 352.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.009861, allocations: 0 / 352.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.009906, allocations: 20.02 kB / 352.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.009913, allocations: 0 / 352.7 MB, free: 3.762 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 8.875e-05/0.01, allocations: 172.5 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.01003, allocations: 11.91 kB / 352.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01026, allocations: 123.2 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01026, allocations: 4 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01026, allocations: 0 / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01027, allocations: 0 / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.01064, allocations: 417 kB / 353.4 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01065, allocations: 4.031 kB / 353.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.01068, allocations: 8 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01068, allocations: 0 / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01069, allocations: 4 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01069, allocations: 0 / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0107, allocations: 0 / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.01091, allocations: 275.4 kB / 353.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.01093, allocations: 11.94 kB / 353.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01096, allocations: 0 / 353.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.01102, allocations: 8 kB / 353.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.01108, allocations: 3.984 kB / 353.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01109, allocations: 8 kB / 353.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.01119, allocations: 183.8 kB / 353.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01119, allocations: 3.938 kB / 353.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01143, allocations: 27.92 kB / 354 MB, free: 2.434 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.003148/0.01458, allocations: 0.4891 MB / 354.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.01477, allocations: 67.59 kB / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01477, allocations: 0 / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.01484, allocations: 39.67 kB / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.01519, allocations: 33.47 kB / 354.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.01565, allocations: 229.1 kB / 354.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01572, allocations: 100.4 kB / 354.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.01576, allocations: 16.8 kB / 354.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.0158, allocations: 20.48 kB / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0158, allocations: 0 / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Templates: time 0.005471/0.02127, allocations: 1.831 MB / 356.8 MB, free: 15.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.676961224060506]