Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001642/0.001642, allocations: 77.23 kB / 19.93 MB, free: 1.785 MB / 14.72 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.001581/0.001581, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.53/1.53, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 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.2193/0.2193, allocations: 32.39 MB / 269.6 MB, free: 4.672 MB / 254.1 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.065e-05, allocations: 2.281 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003577/0.003608, allocations: 1.678 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.005156, allocations: 0.7802 MB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.005227, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.005545, allocations: 39.77 kB / 409.9 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.005792, allocations: 55.7 kB / 410 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.006105, allocations: 95 kB / 410.1 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.006308, allocations: 99.64 kB / 410.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.006424, allocations: 8.219 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006539, allocations: 51.83 kB / 410.2 MB, free: 120 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.006632, allocations: 23.92 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.006656, allocations: 4 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.006766, allocations: 51.84 kB / 410.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.006828, allocations: 15.92 kB / 410.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.006876, allocations: 15.94 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.007124, allocations: 111.7 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.00713, allocations: 7.938 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007131, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.007137, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 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.000591/0.007728, allocations: 337.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.007764, allocations: 8.031 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.007811, allocations: 12.89 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.00813, allocations: 138.5 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.008144, allocations: 384 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.008166, allocations: 8.219 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.008334, allocations: 54.23 kB / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.008349, allocations: 3.938 kB / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.008359, allocations: 4 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.008367, allocations: 4 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.00845, allocations: 19.98 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.00882, allocations: 232.5 kB / 411.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.009016, allocations: 58.61 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.009074, allocations: 24.78 kB / 411.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.00909, allocations: 0 / 411.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.009258, allocations: 71.39 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.009259, allocations: 4 kB / 411.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006289/0.009888, allocations: 181.4 kB / 411.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.009937, allocations: 51.41 kB / 411.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.01016, allocations: 184.1 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01018, allocations: 25.7 kB / 411.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.01026, allocations: 100.1 kB / 412 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.01031, allocations: 27.78 kB / 412 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.01035, allocations: 17.72 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.01052, allocations: 322.8 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.01058, allocations: 23.98 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.01066, allocations: 45.64 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.0108, allocations: 61.64 kB / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.0108, allocations: 4 kB / 412.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.01101, allocations: 109.6 kB / 412.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01103, allocations: 11.98 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01103, allocations: 0 / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01105, allocations: 0 / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01115, allocations: 12.19 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.01115, allocations: 8.031 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.0112, allocations: 7.922 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.01121, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 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 0.0001273/0.01134, allocations: 129.7 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.01136, allocations: 7.953 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.01163, allocations: 118.4 kB / 412.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.01165, allocations: 7.984 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01165, allocations: 0 / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01166, allocations: 3.984 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.01212, allocations: 343 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01212, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.01216, allocations: 8 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01216, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.01218, allocations: 7.984 kB / 413.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01218, allocations: 384 / 413.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01218, allocations: 0 / 413.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.01249, allocations: 220.2 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.0125, allocations: 7.953 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.01253, allocations: 8 kB / 413.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.01261, allocations: 12.02 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01265, allocations: 3.984 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01266, allocations: 7.938 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.0128, allocations: 147.7 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0128, allocations: 0 / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.01307, allocations: 27.92 kB / 413.6 MB, free: 12.45 MB / 350.1 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.001932/0.015, allocations: 493.1 kB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.01523, allocations: 55.95 kB / 414.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01524, allocations: 4 kB / 414.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.01532, allocations: 27.94 kB / 414.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.01567, allocations: 29.98 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.01617, allocations: 214.8 kB / 414.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01627, allocations: 93.38 kB / 414.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.01632, allocations: 16.34 kB / 414.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.01637, allocations: 16.5 kB / 414.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01637, allocations: 0 / 414.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Templates: time 0.005693/0.02206, allocations: 1.823 MB / 416.4 MB, free: 9.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.29655858874321]