Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001425/0.001425, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001352/0.001352, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.967/0.967, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.1453/0.1453, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.657e-05, allocations: 6.25 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002789/0.002826, allocations: 1.744 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003869, allocations: 0.792 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.003957, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.004337, allocations: 115.6 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.004575, allocations: 87.59 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.004789, allocations: 87.69 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004953, allocations: 115.7 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.005044, allocations: 4.234 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.005132, allocations: 63.77 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.005229, allocations: 59.86 kB / 350.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.005248, allocations: 4 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.005328, allocations: 51.91 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.005379, allocations: 23.86 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.00542, allocations: 23.92 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.005597, allocations: 103.6 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0056, allocations: 0 / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005602, allocations: 0 / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005607, allocations: 0 / 351 MB, free: 6.086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004142/0.006021, allocations: 467.7 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.006059, allocations: 8.031 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.006107, allocations: 16.84 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.00626, allocations: 157.2 kB / 351.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.006278, allocations: 4.375 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.006304, allocations: 4.359 kB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.006435, allocations: 66.88 kB / 351.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.006445, allocations: 3.938 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006455, allocations: 4 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006463, allocations: 4 kB / 351.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.006495, allocations: 4 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.006789, allocations: 299.8 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006904, allocations: 55.11 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.006934, allocations: 19.62 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.00695, allocations: 0 / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.00705, allocations: 69.05 kB / 352.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.007052, allocations: 0 / 352.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004079/0.00746, allocations: 169.6 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.007482, allocations: 51.41 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.007613, allocations: 253.7 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.007626, allocations: 29.7 kB / 352.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.007681, allocations: 162.9 kB / 352.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.007717, allocations: 35.73 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.007751, allocations: 27.38 kB / 352.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.007819, allocations: 0.4962 MB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.007846, allocations: 15.92 kB / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.00788, allocations: 39.3 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.007932, allocations: 55.38 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.007933, allocations: 0 / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001042/0.008037, allocations: 97.52 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.00805, allocations: 8.031 kB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008055, allocations: 3.984 kB / 353.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.008071, allocations: 4 kB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.008147, allocations: 12 kB / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008153, allocations: 0 / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.008184, allocations: 4 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.00819, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.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 6.852e-05/0.008258, allocations: 172.4 kB / 353.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.008274, allocations: 11.95 kB / 353.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.008442, allocations: 115.2 kB / 353.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008446, allocations: 4 kB / 353.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.008451, allocations: 0 / 353.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008456, allocations: 3.984 kB / 353.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.008723, allocations: 401 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008725, allocations: 0 / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.008759, allocations: 11.98 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008761, allocations: 0 / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.00877, allocations: 4 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008772, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.008774, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.008906, allocations: 263.4 kB / 354.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.008921, allocations: 11.91 kB / 354.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.008946, allocations: 8 kB / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.008994, allocations: 3.984 kB / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.009044, allocations: 11.97 kB / 354.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.009064, allocations: 8 kB / 354.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.009137, allocations: 184.1 kB / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009137, allocations: 0 / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.009319, allocations: 27.92 kB / 354.8 MB, free: 1.953 MB / 282.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.0009331/0.01025, allocations: 447.2 kB / 355.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01038, allocations: 55.59 kB / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01038, allocations: 0 / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.01042, allocations: 35.61 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01068, allocations: 28.3 kB / 355.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.01102, allocations: 236.7 kB / 355.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.01106, allocations: 75.27 kB / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.0111, allocations: 20.55 kB / 355.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.01114, allocations: 20.48 kB / 355.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01114, allocations: 0 / 355.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of Templates: time 0.00408/0.01522, allocations: 1.847 MB / 357.6 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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: 3.294820365961641]