Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001411/0.001411, allocations: 77.98 kB / 19.93 MB, free: 1.781 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.001597/0.001597, allocations: 161.8 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.642/1.642, 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.261/0.261, allocations: 32.39 MB / 269.6 MB, free: 4.656 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.981e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003567/0.003597, allocations: 1.678 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.005247, allocations: 0.784 MB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.005333, allocations: 0 / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.005853, allocations: 83.69 kB / 410 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.006288, allocations: 75.61 kB / 410.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.006647, allocations: 95.62 kB / 410.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.006943, allocations: 107.6 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.007078, allocations: 8.219 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.007224, allocations: 59.81 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.0074, allocations: 59.97 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.007428, allocations: 4 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007545, allocations: 39.92 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.007627, allocations: 35.84 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.007684, allocations: 19.92 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.00805, allocations: 111.6 kB / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008054, allocations: 3.938 kB / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008055, allocations: 0 / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.00807, allocations: 4 kB / 410.6 MB, free: 15.75 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.0007527/0.008822, allocations: 345.4 kB / 410.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.008869, allocations: 16.03 kB / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.008927, allocations: 16.88 kB / 411 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.009282, allocations: 153.5 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.009293, allocations: 384 / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.009324, allocations: 4.375 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.009579, allocations: 54.23 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.009595, allocations: 3.938 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.009609, allocations: 3.984 kB / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.009614, allocations: 0 / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.009701, allocations: 23.98 kB / 411.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.01019, allocations: 232.5 kB / 411.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.0104, allocations: 54.69 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.683e-05/0.01047, allocations: 24.78 kB / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.01049, allocations: 0 / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.01071, allocations: 75.33 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01071, allocations: 0 / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006945/0.0114, allocations: 185.4 kB / 411.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.01146, allocations: 63.34 kB / 411.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.0118, allocations: 215 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.01183, allocations: 25.7 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.01192, allocations: 104.1 kB / 412.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.01196, allocations: 31.73 kB / 412.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01202, allocations: 21.72 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.01226, allocations: 322.8 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.01232, allocations: 23.98 kB / 412.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.0124, allocations: 37.7 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.01255, allocations: 65.58 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01255, allocations: 4 kB / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.01275, allocations: 97.7 kB / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01276, allocations: 8 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01277, allocations: 3.984 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01279, allocations: 3.938 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.0129, allocations: 20.12 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.0129, allocations: 4 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.01295, allocations: 3.938 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.01297, allocations: 7.984 kB / 412.8 MB, free: 13.36 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.0001293/0.0131, allocations: 137.3 kB / 412.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01313, allocations: 11.91 kB / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.01341, allocations: 127 kB / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01341, allocations: 0 / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01342, allocations: 0 / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01342, allocations: 0 / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.01397, allocations: 350.9 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01397, allocations: 3.984 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.01401, allocations: 8 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01401, allocations: 4.031 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01403, allocations: 8 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01403, allocations: 384 / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01403, allocations: 0 / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.01434, allocations: 216.2 kB / 413.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.01436, allocations: 11.91 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.01439, allocations: 8 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.01446, allocations: 0 / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.01452, allocations: 19.91 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.01454, allocations: 4 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.01472, allocations: 167.2 kB / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01472, allocations: 0 / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.015, allocations: 27.92 kB / 413.9 MB, free: 12.21 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.001983/0.01698, allocations: 498 kB / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.01719, allocations: 55.91 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01719, allocations: 0 / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.01728, allocations: 39.91 kB / 414.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.01765, allocations: 31.56 kB / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.01826, allocations: 242 kB / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.01838, allocations: 104.8 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.01844, allocations: 16.48 kB / 414.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.01848, allocations: 12.5 kB / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01848, allocations: 0 / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.005618/0.0241, allocations: 1.834 MB / 416.7 MB, free: 9.457 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.40332380309701]