Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001535/0.001535, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001644/0.001644, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3745/0.3745, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.69e-05, allocations: 5.547 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004576/0.004613, allocations: 1.786 MB / 377.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.00702, allocations: 1.052 MB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.007118, allocations: 7.938 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.007744, allocations: 307.2 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.008374, allocations: 259 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.008672, allocations: 107.6 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.009066, allocations: 275.2 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.009121, allocations: 9.797 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.009368, allocations: 155.6 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.009673, allocations: 203.6 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.009703, allocations: 8 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.009823, allocations: 47.92 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.01001, allocations: 147.5 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.01013, allocations: 75.66 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.01063, allocations: 354.7 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01064, allocations: 0 / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01064, allocations: 0 / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01064, allocations: 0 / 380.1 MB, free: 108 kB / 346.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.00128/0.01192, allocations: 0.6748 MB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.01196, allocations: 8.031 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01208, allocations: 60.56 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.0128, allocations: 405.7 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01282, allocations: 4.375 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.01283, allocations: 4.375 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.01307, allocations: 87.92 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01308, allocations: 3.938 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.01309, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.0131, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.01324, allocations: 39.91 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.01368, allocations: 302.1 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.01401, allocations: 109.2 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.01412, allocations: 37.7 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.01414, allocations: 0 / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.01441, allocations: 113.1 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.01441, allocations: 0 / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005787/0.01499, allocations: 217.1 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.01506, allocations: 85.05 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.01659, allocations: 1.065 MB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.01663, allocations: 29.7 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.01697, allocations: 240.1 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.01704, allocations: 19.86 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.01713, allocations: 33.7 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004601/0.01759, allocations: 362.8 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.01775, allocations: 35.98 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.01794, allocations: 55.41 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.0183, allocations: 95.84 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.0183, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005895/0.01889, allocations: 185.2 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.01892, allocations: 8 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.01893, allocations: 3.938 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.01895, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.01916, allocations: 35.86 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01916, allocations: 0 / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.01933, allocations: 15.95 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01935, allocations: 4 kB / 384.4 MB, free: 11.58 MB / 362.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 0.0003664/0.01971, allocations: 222.4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.01984, allocations: 59.61 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.02051, allocations: 201.9 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.02052, allocations: 7.984 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02053, allocations: 0 / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.02053, allocations: 0 / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.02104, allocations: 273.1 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.02105, allocations: 7.984 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.02113, allocations: 15.92 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.02113, allocations: 0 / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.02115, allocations: 4 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.02116, allocations: 3.938 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.02116, allocations: 0 / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.02178, allocations: 225.8 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.02197, allocations: 75.55 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.02204, allocations: 8 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.02219, allocations: 11.92 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.02226, allocations: 15.92 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.02228, allocations: 4 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.02376, allocations: 0.7917 MB / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02376, allocations: 0 / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004683/0.02423, allocations: 47.98 kB / 386.3 MB, free: 9.566 MB / 362.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.002697/0.02693, allocations: 428.9 kB / 386.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.02731, allocations: 88.02 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.02731, allocations: 8.125 kB / 386.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.0275, allocations: 48.17 kB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.02818, allocations: 78.06 kB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.03038, allocations: 0.9169 MB / 387.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.03084, allocations: 245.5 kB / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.03102, allocations: 50.97 kB / 388.2 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.03114, allocations: 36.48 kB / 388.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03114, allocations: 0 / 388.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of Templates: time 0.01476/0.04589, allocations: 4.056 MB / 392.3 MB, free: 3.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.071298434981145]