Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.002257/0.002257, allocations: 92.97 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.002221/0.002221, 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.748/1.748, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2591/0.2591, allocations: 32.38 MB / 270 MB, free: 14.77 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.175e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003081/0.003113, allocations: 1.699 MB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.004449, allocations: 0.7883 MB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.004534, allocations: 0 / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.004962, allocations: 91.56 kB / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.005223, allocations: 75.67 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.005482, allocations: 91.69 kB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.005677, allocations: 111.6 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005796, allocations: 4.234 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.005913, allocations: 59.83 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006031, allocations: 59.86 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.006057, allocations: 4 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.006152, allocations: 39.86 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.00622, allocations: 23.92 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.006276, allocations: 19.92 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.006498, allocations: 123.6 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006501, allocations: 0 / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006503, allocations: 0 / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.006509, allocations: 0 / 350.2 MB, free: 6.531 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.0006248/0.007134, allocations: 447.6 kB / 350.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.007182, allocations: 8.031 kB / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.007251, allocations: 20.84 kB / 350.7 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.007477, allocations: 160.2 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.007495, allocations: 4.375 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.007522, allocations: 4.375 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.007681, allocations: 58.23 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.007698, allocations: 3.938 kB / 350.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.007709, allocations: 0 / 350.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.007715, allocations: 3.984 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.007794, allocations: 16 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.008195, allocations: 299.7 kB / 351.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.008363, allocations: 67.16 kB / 351.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.008415, allocations: 23.62 kB / 351.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.008437, allocations: 0 / 351.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.008579, allocations: 76.98 kB / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.008581, allocations: 0 / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.009152, allocations: 181.4 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.00919, allocations: 59.34 kB / 351.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009369, allocations: 258.6 kB / 351.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.009381, allocations: 25.7 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.009443, allocations: 162.9 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.009475, allocations: 23.8 kB / 352.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.009514, allocations: 31.36 kB / 352.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.009626, allocations: 0.504 MB / 352.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.009676, allocations: 19.98 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.00973, allocations: 47.36 kB / 352.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/0.009823, allocations: 67.25 kB / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009824, allocations: 0 / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001495/0.009973, allocations: 101.6 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.009988, allocations: 8 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.009994, allocations: 0 / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01001, allocations: 0 / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.0101, allocations: 15.94 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.01011, allocations: 4 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.01016, allocations: 12.02 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.01016, allocations: 4.375 kB / 352.9 MB, free: 3.637 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.44e-05/0.01025, allocations: 165.5 kB / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.01027, allocations: 15.91 kB / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.0105, allocations: 123.2 kB / 353.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01051, allocations: 0 / 353.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.01051, allocations: 8 kB / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01052, allocations: 0 / 353.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.01087, allocations: 417 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01087, allocations: 0 / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.0109, allocations: 12.03 kB / 353.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.0109, allocations: 0 / 353.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01091, allocations: 7.938 kB / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01091, allocations: 0 / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01092, allocations: 3.938 kB / 353.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.01112, allocations: 275.4 kB / 353.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.01114, allocations: 15.84 kB / 353.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01116, allocations: 4 kB / 353.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.01123, allocations: 4 kB / 353.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.01128, allocations: 7.984 kB / 353.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.0113, allocations: 8 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01141, allocations: 187.1 kB / 354.1 MB, free: 2.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01141, allocations: 0 / 354.1 MB, free: 2.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01165, allocations: 27.94 kB / 354.1 MB, free: 2.293 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.003204/0.01485, allocations: 494.3 kB / 354.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01506, allocations: 71.59 kB / 354.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01506, allocations: 4 kB / 354.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.01514, allocations: 47.53 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.01552, allocations: 37.44 kB / 354.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01599, allocations: 233.1 kB / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.784e-05/0.01606, allocations: 92.94 kB / 355.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01611, allocations: 16.78 kB / 355.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.01615, allocations: 16.5 kB / 355.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01615, allocations: 0 / 355.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of Templates: time 0.005825/0.02198, allocations: 1.832 MB / 356.9 MB, free: 15.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.769314029021189]