Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001537/0.001537, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.00157/0.00157, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.505/1.505, allocations: 158.6 MB / 185.3 MB, free: 2.91 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.2408/0.2408, allocations: 32.37 MB / 270 MB, free: 14.78 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.176e-05/4.448e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003169/0.003214, allocations: 1.688 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.004661, allocations: 0.7726 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.004757, allocations: 4 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.005219, allocations: 83.62 kB / 349.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.005541, allocations: 79.67 kB / 349.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.005823, allocations: 95.62 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.006011, allocations: 107.7 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006123, allocations: 4.234 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.006241, allocations: 71.73 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.006373, allocations: 43.89 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.006397, allocations: 4 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.006496, allocations: 47.91 kB / 350 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.006564, allocations: 23.92 kB / 350 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.006624, allocations: 15.94 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006859, allocations: 119.6 kB / 350.2 MB, free: 6.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.006868, allocations: 7.984 kB / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.00687, allocations: 0 / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.006877, allocations: 0 / 350.2 MB, free: 6.559 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.0007118/0.007589, allocations: 337.6 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.007646, allocations: 12.02 kB / 350.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/0.007734, allocations: 24.84 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.008063, allocations: 153.5 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.008084, allocations: 384 / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.008123, allocations: 4.375 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.008317, allocations: 58.23 kB / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.008333, allocations: 3.938 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.008347, allocations: 4 kB / 350.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.008356, allocations: 4 kB / 350.7 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.008439, allocations: 19.92 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.008844, allocations: 236.5 kB / 351 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.009029, allocations: 50.67 kB / 351 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.00909, allocations: 24.78 kB / 351.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.009117, allocations: 8 kB / 351.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.009299, allocations: 67.33 kB / 351.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.0093, allocations: 4 kB / 351.1 MB, free: 5.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000571/0.009871, allocations: 185.3 kB / 351.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.009899, allocations: 51.41 kB / 351.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01005, allocations: 219 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.01006, allocations: 25.7 kB / 351.6 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.0101, allocations: 108.1 kB / 351.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.01013, allocations: 23.8 kB / 351.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.01016, allocations: 25.7 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.01022, allocations: 326.8 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.01027, allocations: 16 kB / 352.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.01032, allocations: 37.7 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.01042, allocations: 69.58 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01042, allocations: 0 / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001596/0.01058, allocations: 113.5 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.0106, allocations: 8 kB / 352.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0106, allocations: 0 / 352.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.01062, allocations: 4.031 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.01071, allocations: 15.98 kB / 352.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01072, allocations: 4 kB / 352.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.01076, allocations: 4.359 kB / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01077, allocations: 8 kB / 352.4 MB, free: 4.164 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 7.532e-05/0.01085, allocations: 130.8 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.01087, allocations: 15.91 kB / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.01111, allocations: 127.2 kB / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01111, allocations: 0 / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01112, allocations: 8 kB / 352.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01112, allocations: 4 kB / 352.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01146, allocations: 342.9 kB / 353 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01146, allocations: 0 / 353 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.01149, allocations: 15.94 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0115, allocations: 0 / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01151, allocations: 7.922 kB / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01151, allocations: 4 kB / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01151, allocations: 0 / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.01171, allocations: 220.2 kB / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01173, allocations: 15.94 kB / 353.2 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01176, allocations: 7.984 kB / 353.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.01183, allocations: 0 / 353.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.01187, allocations: 11.98 kB / 353.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01189, allocations: 4 kB / 353.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.012, allocations: 163.2 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.012, allocations: 0 / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01225, allocations: 27.94 kB / 353.4 MB, free: 3.004 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.002169/0.01442, allocations: 0.4891 MB / 353.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.01461, allocations: 59.91 kB / 354 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01461, allocations: 0 / 354 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.01469, allocations: 39.86 kB / 354 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.01509, allocations: 37.56 kB / 354.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.0157, allocations: 248.6 kB / 354.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01581, allocations: 96.8 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.01587, allocations: 12.8 kB / 354.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01592, allocations: 24.48 kB / 354.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01592, allocations: 0 / 354.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of Templates: time 0.005558/0.02148, allocations: 1.833 MB / 356.3 MB, free: 256 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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: 4.937109376071021]