Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.001268/0.001268, allocations: 91.31 kB / 20.42 MB, free: 4.141 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.001471/0.001471, allocations: 169.3 kB / 23.8 MB, free: 0.7695 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.035/1.035, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1686/0.1686, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.384e-05, allocations: 4.281 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002173/0.002197, allocations: 1.819 MB / 349.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003203, allocations: 0.8699 MB / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.003288, allocations: 0 / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.003716, allocations: 303.2 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.004006, allocations: 215.2 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.00425, allocations: 143.6 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.004464, allocations: 247.2 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.004508, allocations: 9.797 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.004633, allocations: 147.6 kB / 351.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.00479, allocations: 192.1 kB / 351.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.004813, allocations: 8 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.004889, allocations: 43.92 kB / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.004979, allocations: 152.5 kB / 351.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.00504, allocations: 67.66 kB / 351.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.005288, allocations: 267 kB / 352.2 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005291, allocations: 3.984 kB / 352.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005292, allocations: 3.938 kB / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.005298, allocations: 4 kB / 352.2 MB, free: 4.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005458/0.005843, allocations: 0.7592 MB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.005877, allocations: 12.03 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.00594, allocations: 52.61 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.006236, allocations: 324.7 kB / 353.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.00626, allocations: 4.375 kB / 353.3 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.006277, allocations: 4.375 kB / 353.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.006461, allocations: 106.2 kB / 353.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006471, allocations: 3.938 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006483, allocations: 0 / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.006491, allocations: 0 / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.006536, allocations: 19.97 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.006786, allocations: 300.3 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.006973, allocations: 106.1 kB / 353.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.007023, allocations: 35.36 kB / 353.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.00704, allocations: 0 / 353.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.00719, allocations: 112.3 kB / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.007191, allocations: 0 / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.00028/0.007471, allocations: 177.2 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.007503, allocations: 85.11 kB / 354.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.007916, allocations: 0.6784 MB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.00793, allocations: 33.7 kB / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.008043, allocations: 298.8 kB / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.00808, allocations: 27.78 kB / 355.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.008115, allocations: 31.38 kB / 355.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.008222, allocations: 0.5587 MB / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.008253, allocations: 11.98 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.008293, allocations: 58.67 kB / 356 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.008364, allocations: 75.23 kB / 356 MB, free: 0.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008366, allocations: 11.94 kB / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001371/0.008503, allocations: 149.3 kB / 356.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.008517, allocations: 4 kB / 356.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008523, allocations: 3.938 kB / 356.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.008538, allocations: 4 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.008622, allocations: 23.98 kB / 356.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.008627, allocations: 3.938 kB / 356.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.008677, allocations: 7.953 kB / 356.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.008684, allocations: 4 kB / 356.2 MB, free: 0.5781 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 7.331e-05/0.008758, allocations: 176.4 kB / 356.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.008789, allocations: 59.66 kB / 356.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.008984, allocations: 161.5 kB / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.008987, allocations: 0 / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.008992, allocations: 4 kB / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.008997, allocations: 0 / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.009257, allocations: 308.4 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009259, allocations: 0 / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.009294, allocations: 16.23 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.009297, allocations: 0 / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.00931, allocations: 12 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.009312, allocations: 3.938 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.009315, allocations: 3.938 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.009516, allocations: 211.6 kB / 357.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.009571, allocations: 59.66 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.009602, allocations: 4 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/0.009648, allocations: 7.938 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.009699, allocations: 15.97 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.009716, allocations: 4 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003726/0.01009, allocations: 466.8 kB / 357.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01009, allocations: 4 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.0103, allocations: 43.94 kB / 357.8 MB, free: 14.97 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008674/0.01116, allocations: 395.3 kB / 358.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01131, allocations: 75.53 kB / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01132, allocations: 0 / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.01137, allocations: 43.59 kB / 358.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01164, allocations: 78.52 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.01236, allocations: 0.6396 MB / 359 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.01244, allocations: 124.2 kB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.0125, allocations: 39.45 kB / 359.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.01256, allocations: 36.48 kB / 359.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01256, allocations: 0 / 359.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.006981/0.01954, allocations: 4.184 MB / 363.4 MB, free: 9.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.3898988449946046]