Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001396/0.001396, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001656/0.001656, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9728/0.9728, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 34.25 MB / 296.1 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.48e-05, allocations: 9.891 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002014/0.002029, allocations: 1.767 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003268, allocations: 1.006 MB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.003328, allocations: 0 / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.003554, allocations: 43.7 kB / 328.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.003779, allocations: 91.5 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.00391, allocations: 79.59 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.004044, allocations: 111.7 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.004113, allocations: 4 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.301e-05/0.004196, allocations: 59.77 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.004259, allocations: 27.91 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.004273, allocations: 4 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004341, allocations: 43.92 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.004382, allocations: 19.92 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.004416, allocations: 28.36 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.00455, allocations: 99.58 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.004552, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004552, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.485e-06/0.004555, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.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.00031/0.004865, allocations: 317.6 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.004892, allocations: 12.03 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.004918, allocations: 8.922 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.005046, allocations: 142.3 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.005059, allocations: 384 / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.005076, allocations: 4.375 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.005169, allocations: 69.69 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005177, allocations: 3.938 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.005182, allocations: 0 / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005187, allocations: 0 / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.00521, allocations: 12 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.005379, allocations: 169.9 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.005458, allocations: 93.28 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.005477, allocations: 20.78 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.005485, allocations: 0 / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/0.005557, allocations: 70.14 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.005558, allocations: 0 / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002423/0.0058, allocations: 105.5 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.00583, allocations: 55.41 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.005936, allocations: 178.1 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.00595, allocations: 33.7 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.005978, allocations: 88.12 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.005999, allocations: 27.73 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.006026, allocations: 21.7 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.006117, allocations: 322.8 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.006133, allocations: 14.81 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.006155, allocations: 29.64 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.006195, allocations: 48.5 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006196, allocations: 0 / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.304e-05/0.006259, allocations: 76.38 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.006268, allocations: 4 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006273, allocations: 4 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006283, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.006369, allocations: 12 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.006372, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.006398, allocations: 11.98 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006403, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.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 5.297e-05/0.006455, allocations: 116.6 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.006467, allocations: 19.95 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.006549, allocations: 71.14 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.00655, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.006552, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006554, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.006736, allocations: 295.6 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006737, allocations: 384 / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.006759, allocations: 15.92 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006761, allocations: 0 / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006766, allocations: 4 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.006768, allocations: 11.97 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006768, allocations: 80 / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.645e-05/0.006855, allocations: 219 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.006866, allocations: 15.89 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.006879, allocations: 0 / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.006914, allocations: 4 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.006934, allocations: 11.98 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.006942, allocations: 0 / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.006977, allocations: 44.34 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006977, allocations: 4 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.007115, allocations: 23.94 kB / 331.5 MB, free: 1.23 MB / 298.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.001167/0.008282, allocations: 0.5709 MB / 332 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.008355, allocations: 48.77 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008357, allocations: 4.062 kB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.008384, allocations: 28.78 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.00853, allocations: 31.64 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.008772, allocations: 220 kB / 332.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.008807, allocations: 71.34 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.008836, allocations: 17.27 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.008893, allocations: 71.42 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008893, allocations: 0 / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of Templates: time 0.003035/0.01193, allocations: 1.999 MB / 334.5 MB, free: 14.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8213055306114256]