Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008182/0.0008182, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007703/0.0007703, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8081/0.8081, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1234/0.1234, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.924e-05, allocations: 6.078 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002168/0.002187, allocations: 1.68 MB / 409.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.003004, allocations: 0.7802 MB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.003063, allocations: 3.938 kB / 410.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.003316, allocations: 35.83 kB / 410.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.003491, allocations: 55.7 kB / 410.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.003648, allocations: 79.7 kB / 410.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.003788, allocations: 111.5 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.003875, allocations: 4.234 kB / 410.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.003942, allocations: 47.84 kB / 411 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.004003, allocations: 31.89 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004019, allocations: 4 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.004083, allocations: 43.92 kB / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.004127, allocations: 19.92 kB / 411.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.00416, allocations: 19.92 kB / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004311, allocations: 103.6 kB / 411.2 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004312, allocations: 3.938 kB / 411.2 MB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004313, allocations: 0 / 411.2 MB, free: 9.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004316, allocations: 0 / 411.2 MB, free: 9.902 MB / 346.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.000371/0.004687, allocations: 329.7 kB / 411.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004719, allocations: 12.02 kB / 411.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.004753, allocations: 12.84 kB / 411.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.004914, allocations: 154.1 kB / 411.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004924, allocations: 384 / 411.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.004943, allocations: 4.375 kB / 411.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.005049, allocations: 57.61 kB / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005058, allocations: 0 / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.005066, allocations: 0 / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.00507, allocations: 0 / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.005118, allocations: 19.98 kB / 411.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.005362, allocations: 236.5 kB / 412 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005467, allocations: 54.62 kB / 412.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.005499, allocations: 20.84 kB / 412.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.005512, allocations: 4 kB / 412.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.804e-05/0.00561, allocations: 67.38 kB / 412.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.005612, allocations: 3.984 kB / 412.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003801/0.005992, allocations: 185.3 kB / 412.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.006019, allocations: 51.41 kB / 412.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006121, allocations: 170.4 kB / 412.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.006131, allocations: 25.7 kB / 412.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.006172, allocations: 100.1 kB / 412.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.006195, allocations: 27.78 kB / 412.7 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.006224, allocations: 21.72 kB / 412.7 MB, free: 8.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.006296, allocations: 326.7 kB / 413 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.00633, allocations: 23.98 kB / 413.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.006369, allocations: 37.7 kB / 413.1 MB, free: 7.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.828e-05/0.006437, allocations: 61.7 kB / 413.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.006438, allocations: 0 / 413.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001085/0.006547, allocations: 109.5 kB / 413.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.006559, allocations: 10.66 kB / 413.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006563, allocations: 0 / 413.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.006572, allocations: 0 / 413.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.00663, allocations: 16 kB / 413.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006635, allocations: 0 / 413.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.006663, allocations: 15.86 kB / 413.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006668, allocations: 4.188 kB / 413.3 MB, free: 7.598 MB / 346.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 6.568e-05/0.006734, allocations: 121.8 kB / 413.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.006744, allocations: 11.89 kB / 413.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.006892, allocations: 126.5 kB / 413.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006893, allocations: 0 / 413.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.006896, allocations: 0 / 413.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.0069, allocations: 3.984 kB / 413.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.007148, allocations: 342.9 kB / 413.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007149, allocations: 0 / 413.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.00717, allocations: 8.375 kB / 413.9 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007172, allocations: 4 kB / 413.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007178, allocations: 0 / 413.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.007183, allocations: 11.92 kB / 413.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007185, allocations: 8.031 kB / 413.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.007312, allocations: 212.2 kB / 414.1 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.007321, allocations: 7.953 kB / 414.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.007335, allocations: 4 kB / 414.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.007372, allocations: 7.922 kB / 414.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.007404, allocations: 8 kB / 414.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.007417, allocations: 7.984 kB / 414.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.938e-05/0.007476, allocations: 123.2 kB / 414.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007476, allocations: 0 / 414.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.007634, allocations: 23.94 kB / 414.3 MB, free: 6.512 MB / 346.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.0006727/0.008306, allocations: 498.5 kB / 414.8 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.008416, allocations: 55.91 kB / 414.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.008419, allocations: 8.062 kB / 414.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.008459, allocations: 27.98 kB / 414.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.008666, allocations: 23.97 kB / 414.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.008969, allocations: 235.7 kB / 415.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.009023, allocations: 87.17 kB / 415.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.009049, allocations: 20.5 kB / 415.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009049, allocations: 64 / 415.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of Templates: time 0.002498/0.01155, allocations: 1.907 MB / 417.2 MB, free: 3.664 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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: 4.33478594571352]