Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001916/0.001916, allocations: 74.66 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.001568/0.001568, allocations: 164.3 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.58/1.58, allocations: 158.6 MB / 185 MB, free: 6.414 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.2311/0.2311, allocations: 32.37 MB / 269.6 MB, free: 4.68 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 407.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.881e-05/4.114e-05, allocations: 6.281 kB / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005855/0.005896, allocations: 1.876 MB / 409.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.008442, allocations: 0.8035 MB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.008658, allocations: 7.938 kB / 410.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.009108, allocations: 47.7 kB / 410.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.009545, allocations: 63.58 kB / 410.2 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.01001, allocations: 103 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.01043, allocations: 147.5 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.01059, allocations: 17.67 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.0108, allocations: 79.73 kB / 410.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.01094, allocations: 31.91 kB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.01098, allocations: 8 kB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.01113, allocations: 55.84 kB / 410.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.01122, allocations: 23.92 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.01132, allocations: 31.84 kB / 410.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.01176, allocations: 151.4 kB / 410.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01176, allocations: 4 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01176, allocations: 0 / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.01178, allocations: 0 / 410.9 MB, free: 15.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001047/0.01282, allocations: 407.1 kB / 411.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.01289, allocations: 8.031 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01299, allocations: 16.84 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.01356, allocations: 169.5 kB / 411.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.01358, allocations: 384 / 411.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.01363, allocations: 12.38 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.014, allocations: 137.9 kB / 411.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01402, allocations: 7.938 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.01405, allocations: 4 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.01406, allocations: 0 / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.01426, allocations: 51.89 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.01525, allocations: 444.8 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.01573, allocations: 90.59 kB / 412.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.01585, allocations: 36.83 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01587, allocations: 0 / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.01613, allocations: 113 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.01613, allocations: 3.938 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005364/0.01667, allocations: 149.5 kB / 412.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.01673, allocations: 55.41 kB / 412.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.01701, allocations: 187.6 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.01704, allocations: 33.64 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.01717, allocations: 120 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.01723, allocations: 31.73 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.01733, allocations: 33.7 kB / 412.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01754, allocations: 330.8 kB / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01764, allocations: 28.11 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01779, allocations: 72.27 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.01804, allocations: 104.5 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01805, allocations: 0 / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003517/0.0184, allocations: 141.5 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.01842, allocations: 4 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01843, allocations: 0 / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.01845, allocations: 4 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01856, allocations: 27.92 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01857, allocations: 4 kB / 413.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.01866, allocations: 7.953 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01867, allocations: 4 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001776/0.01885, allocations: 139.8 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01889, allocations: 19.97 kB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.01924, allocations: 131.1 kB / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01924, allocations: 0 / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.01925, allocations: 0 / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.01926, allocations: 3.984 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01947, allocations: 149.2 kB / 414.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01948, allocations: 0 / 414.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.01957, allocations: 15.98 kB / 414.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01957, allocations: 0 / 414.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01958, allocations: 0 / 414.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01959, allocations: 4 kB / 414.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01959, allocations: 4 kB / 414.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.02006, allocations: 200.9 kB / 414.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.02009, allocations: 15.94 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.02012, allocations: 4 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.02019, allocations: 7.984 kB / 414.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.02024, allocations: 7.984 kB / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.02026, allocations: 0 / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.02043, allocations: 153.1 kB / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02043, allocations: 4.062 kB / 414.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.02071, allocations: 27.94 kB / 414.5 MB, free: 11.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001784/0.02249, allocations: 430.9 kB / 414.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.02281, allocations: 83.77 kB / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02281, allocations: 4 kB / 415 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.02294, allocations: 40.16 kB / 415.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.02336, allocations: 47.84 kB / 415.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.02415, allocations: 262.2 kB / 415.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.02428, allocations: 98.77 kB / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.02437, allocations: 21.14 kB / 415.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.02442, allocations: 16.5 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.02442, allocations: 3.938 kB / 415.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.007618/0.03203, allocations: 2.042 MB / 417.5 MB, free: 8.562 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.148838307708502]