Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.001303/0.001303, allocations: 76.5 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.001469/0.001469, allocations: 162.2 kB / 23.21 MB, free: 4.91 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.573/1.573, allocations: 158.6 MB / 185 MB, free: 6.395 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.2428/0.2428, allocations: 32.38 MB / 269.6 MB, free: 4.664 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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.622e-05/4.88e-05, allocations: 2.281 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.005151/0.0052, allocations: 1.674 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.007246, allocations: 0.7841 MB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.007345, allocations: 3.938 kB / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.007793, allocations: 87.69 kB / 410 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.008093, allocations: 75.66 kB / 410.1 MB, free: 296 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.008416, allocations: 91.64 kB / 410.1 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.008642, allocations: 119.5 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.008754, allocations: 4.234 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.008893, allocations: 63.86 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.009052, allocations: 59.86 kB / 410.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.009077, allocations: 7.938 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.009211, allocations: 43.92 kB / 410.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.009297, allocations: 31.84 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.009349, allocations: 15.94 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.00963, allocations: 115.6 kB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.009635, allocations: 3.938 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.009637, allocations: 0 / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.009646, allocations: 7.938 kB / 410.6 MB, free: 15.73 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.0008867/0.01053, allocations: 353.5 kB / 411 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.01059, allocations: 12.03 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.01066, allocations: 12.84 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.01116, allocations: 161.5 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.01119, allocations: 4.375 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.01122, allocations: 4.375 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.01147, allocations: 50.23 kB / 411.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.01149, allocations: 7.938 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01151, allocations: 4 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.01152, allocations: 0 / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.01163, allocations: 19.98 kB / 411.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.01216, allocations: 232.6 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.01239, allocations: 58.61 kB / 411.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.01246, allocations: 24.78 kB / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.01249, allocations: 0 / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.0127, allocations: 71.39 kB / 411.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.0127, allocations: 0 / 411.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007562/0.01346, allocations: 189.3 kB / 411.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.01353, allocations: 55.41 kB / 411.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.01382, allocations: 226.8 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01385, allocations: 33.7 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01395, allocations: 104.1 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.01401, allocations: 31.73 kB / 412.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.01406, allocations: 21.72 kB / 412.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.0143, allocations: 330.8 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.01437, allocations: 23.92 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.01445, allocations: 37.7 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01458, allocations: 61.64 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01458, allocations: 4 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.01478, allocations: 109.6 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.0148, allocations: 8 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01481, allocations: 0 / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01483, allocations: 0 / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01493, allocations: 12.19 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01494, allocations: 4 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.01499, allocations: 7.922 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.015, allocations: 8 kB / 412.8 MB, free: 13.31 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.0001556/0.01516, allocations: 137.3 kB / 413 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.01519, allocations: 15.89 kB / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.01549, allocations: 127.1 kB / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01549, allocations: 0 / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.0155, allocations: 0 / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.0155, allocations: 0 / 413.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.01602, allocations: 354.9 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.01603, allocations: 4 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.01607, allocations: 8 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01607, allocations: 32 / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01609, allocations: 4 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.01609, allocations: 4.375 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01609, allocations: 0 / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.01641, allocations: 216.2 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.01644, allocations: 11.91 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.01647, allocations: 8 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.01654, allocations: 4 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.01659, allocations: 11.97 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.01661, allocations: 4 kB / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.01681, allocations: 180.2 kB / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01681, allocations: 4 kB / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.01709, allocations: 19.94 kB / 413.9 MB, free: 12.15 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.002079/0.01917, allocations: 498.8 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01943, allocations: 59.91 kB / 414.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.01943, allocations: 0 / 414.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.966e-05/0.01953, allocations: 31.98 kB / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.01993, allocations: 35.55 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.02057, allocations: 254.7 kB / 414.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.02069, allocations: 100.7 kB / 414.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.712e-05/0.02074, allocations: 16.5 kB / 414.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.02078, allocations: 16.48 kB / 414.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.02078, allocations: 0 / 414.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Templates: time 0.00669/0.02747, allocations: 1.832 MB / 416.8 MB, free: 9.375 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.2894809655845165]