Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.0008733/0.0008733, 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.000985/0.000985, allocations: 174.3 kB / 23.97 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.8766/0.8766, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1247/0.1247, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.552e-05, allocations: 6.078 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002304/0.002329, allocations: 1.672 MB / 409.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.003274, allocations: 0.7842 MB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.003347, allocations: 4 kB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.003651, allocations: 31.84 kB / 410.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.00386, allocations: 55.64 kB / 410.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004081, allocations: 87.69 kB / 410.8 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.004238, allocations: 99.62 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.004337, allocations: 12.22 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.004419, allocations: 51.84 kB / 411 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.004489, allocations: 23.91 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.004509, allocations: 4 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.004605, allocations: 43.92 kB / 411.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.00466, allocations: 19.91 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.004695, allocations: 15.94 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.004868, allocations: 111.6 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004871, allocations: 0 / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004872, allocations: 3.938 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004877, allocations: 0 / 411.2 MB, free: 14.62 MB / 394.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.0004011/0.005278, allocations: 337.7 kB / 411.5 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005313, allocations: 8.031 kB / 411.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.005353, allocations: 8.891 kB / 411.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.005544, allocations: 138.2 kB / 411.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.005557, allocations: 8.375 kB / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005574, allocations: 384 / 411.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005699, allocations: 65.61 kB / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.005708, allocations: 0 / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.005717, allocations: 0 / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005721, allocations: 0 / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.005773, allocations: 27.97 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.006048, allocations: 228.5 kB / 412 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.006163, allocations: 58.67 kB / 412.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.006198, allocations: 20.84 kB / 412.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.006211, allocations: 0 / 412.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.006321, allocations: 71.33 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.006323, allocations: 0 / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.006729, allocations: 181.4 kB / 412.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006761, allocations: 59.34 kB / 412.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.00687, allocations: 166.4 kB / 412.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.006883, allocations: 33.64 kB / 412.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.006927, allocations: 100.1 kB / 412.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.006952, allocations: 15.86 kB / 412.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.006986, allocations: 25.7 kB / 412.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.007073, allocations: 326.8 kB / 413 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.007112, allocations: 20 kB / 413.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.007155, allocations: 37.7 kB / 413.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.652e-05/0.007231, allocations: 65.62 kB / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007232, allocations: 0 / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.007354, allocations: 105.6 kB / 413.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007366, allocations: 4 kB / 413.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.007372, allocations: 4 kB / 413.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007384, allocations: 0 / 413.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.007456, allocations: 19.92 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.007462, allocations: 4.328 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.007492, allocations: 11.94 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007499, allocations: 11.97 kB / 413.3 MB, free: 12.31 MB / 394.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 7.422e-05/0.007573, allocations: 121.8 kB / 413.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.007585, allocations: 11.95 kB / 413.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.007756, allocations: 118.4 kB / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007758, allocations: 0 / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.007763, allocations: 384 / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.007767, allocations: 0 / 413.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.008067, allocations: 346.9 kB / 413.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.00807, allocations: 4 kB / 413.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.008095, allocations: 16.02 kB / 413.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008098, allocations: 0 / 413.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008107, allocations: 4 kB / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.00811, allocations: 3.938 kB / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008111, allocations: 0 / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.008249, allocations: 208.3 kB / 414.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.008263, allocations: 15.94 kB / 414.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.008278, allocations: 0 / 414.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.008318, allocations: 11.92 kB / 414.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.008354, allocations: 11.92 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.008367, allocations: 8 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.00843, allocations: 127.2 kB / 414.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00843, allocations: 4 kB / 414.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.008606, allocations: 23.98 kB / 414.3 MB, free: 11.23 MB / 394.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.0007507/0.009356, allocations: 492.6 kB / 414.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.009492, allocations: 59.91 kB / 414.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009493, allocations: 0 / 414.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.009536, allocations: 31.94 kB / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.009759, allocations: 27.97 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.01011, allocations: 231.7 kB / 415.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.113e-05/0.01017, allocations: 87.44 kB / 415.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.0102, allocations: 20.5 kB / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0102, allocations: 0 / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of Templates: time 0.002746/0.01295, allocations: 1.911 MB / 417.2 MB, free: 8.359 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.608191688545048]