Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001977/0.001977, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.00235/0.00235, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.572/1.572, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.229/0.229, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.113e-05/4.342e-05, allocations: 2.312 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004065/0.004108, allocations: 1.84 MB / 348.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005982, allocations: 0.8817 MB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.006152, allocations: 0 / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.006642, allocations: 163.4 kB / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.007113, allocations: 139.4 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.007575, allocations: 151.5 kB / 350.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.007967, allocations: 227.3 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.008097, allocations: 9.797 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.008377, allocations: 119.7 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.008595, allocations: 119.7 kB / 350.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.00865, allocations: 8 kB / 350.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.008807, allocations: 47.92 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.785e-05/0.008905, allocations: 51.77 kB / 350.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.008987, allocations: 43.78 kB / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.009364, allocations: 199.3 kB / 351 MB, free: 5.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.009374, allocations: 0 / 351 MB, free: 5.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.009376, allocations: 0 / 351 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.009387, allocations: 0 / 351 MB, free: 5.715 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009022/0.01029, allocations: 0.5611 MB / 351.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.01033, allocations: 8.031 kB / 351.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.01043, allocations: 32.78 kB / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.01081, allocations: 199.7 kB / 351.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01083, allocations: 4.375 kB / 351.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.01086, allocations: 12.36 kB / 351.8 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.01109, allocations: 109.5 kB / 351.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.01111, allocations: 3.938 kB / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.01112, allocations: 0 / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.01113, allocations: 0 / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01125, allocations: 35.97 kB / 352 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.01182, allocations: 0.4908 MB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.01211, allocations: 130.2 kB / 352.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.01219, allocations: 47.36 kB / 352.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.01221, allocations: 4 kB / 352.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.01244, allocations: 128.3 kB / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.01244, allocations: 0 / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009315/0.01337, allocations: 360.7 kB / 353.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.01342, allocations: 81.09 kB / 353.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.0137, allocations: 374.3 kB / 353.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01371, allocations: 29.7 kB / 353.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.01381, allocations: 203.1 kB / 353.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.01386, allocations: 47.64 kB / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.01391, allocations: 47.36 kB / 353.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01403, allocations: 0.5351 MB / 354.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.01412, allocations: 39.98 kB / 354.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.01421, allocations: 78.72 kB / 354.5 MB, free: 1.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.01439, allocations: 135.6 kB / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01439, allocations: 0 / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002729/0.01466, allocations: 185.4 kB / 354.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01468, allocations: 4 kB / 354.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01469, allocations: 4 kB / 354.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01471, allocations: 4.062 kB / 354.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01483, allocations: 31.92 kB / 354.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01484, allocations: 4 kB / 354.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.01492, allocations: 15.98 kB / 354.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01493, allocations: 4 kB / 354.9 MB, free: 1.523 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.528e-05/0.01502, allocations: 180.5 kB / 355.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.01507, allocations: 31.81 kB / 355.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.01544, allocations: 207.3 kB / 355.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01544, allocations: 3.984 kB / 355.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01545, allocations: 0 / 355.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01545, allocations: 11.98 kB / 355.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.01607, allocations: 0.6794 MB / 356 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01607, allocations: 4 kB / 356 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.01614, allocations: 27.92 kB / 356 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01614, allocations: 7.938 kB / 356 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01615, allocations: 0 / 356 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01616, allocations: 4.312 kB / 356 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.01616, allocations: 3.938 kB / 356 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.01666, allocations: 496.8 kB / 356.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.01671, allocations: 27.91 kB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.01675, allocations: 4 kB / 356.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.01688, allocations: 8 kB / 356.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.01694, allocations: 19.91 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.01697, allocations: 12 kB / 356.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.01729, allocations: 251 kB / 356.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01729, allocations: 0 / 356.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.01765, allocations: 47.88 kB / 356.9 MB, free: 15.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003595/0.02124, allocations: 499 kB / 357.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.02162, allocations: 123.6 kB / 357.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.02162, allocations: 3.938 kB / 357.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.02181, allocations: 75.58 kB / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.0225, allocations: 73.66 kB / 357.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02376, allocations: 420.6 kB / 358.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.02398, allocations: 136.8 kB / 358.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.02411, allocations: 38.23 kB / 358.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.02419, allocations: 20.5 kB / 358.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.02419, allocations: 0 / 358.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01019/0.03438, allocations: 2.894 MB / 361.1 MB, free: 11.24 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.289840120007284]