Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001988/0.001988, 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.00163/0.00163, 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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4405/0.4405, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.872e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005724/0.005763, allocations: 1.796 MB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.009183, allocations: 1.056 MB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.009387, allocations: 4.047 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.01029, allocations: 295.1 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.0112, allocations: 255 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.01172, allocations: 111.6 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.01239, allocations: 275.2 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.01247, allocations: 5.812 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.0129, allocations: 151.6 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.01339, allocations: 204.1 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.01344, allocations: 8 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.01363, allocations: 47.88 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.01394, allocations: 132.5 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01414, allocations: 75.66 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008326/0.01497, allocations: 350.8 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.01498, allocations: 0 / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01498, allocations: 0 / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.015, allocations: 4 kB / 382.1 MB, free: 14.12 MB / 362.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.0018/0.0168, allocations: 0.6708 MB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/0.01687, allocations: 8.031 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.01706, allocations: 52.61 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.0182, allocations: 385.8 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.01822, allocations: 8.375 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.01824, allocations: 4.375 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.01856, allocations: 87.86 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.01858, allocations: 3.938 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.01859, allocations: 4 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.0186, allocations: 4 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.0188, allocations: 31.97 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.01946, allocations: 306.1 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.01992, allocations: 105.2 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.02008, allocations: 37.7 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.02011, allocations: 4 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.02047, allocations: 113 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.02047, allocations: 0 / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008614/0.02133, allocations: 213.2 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.02144, allocations: 81.11 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.02354, allocations: 1.038 MB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.02359, allocations: 33.7 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.0239, allocations: 232.1 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.02396, allocations: 19.86 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.02405, allocations: 33.7 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.02434, allocations: 366.8 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.02448, allocations: 35.92 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.02465, allocations: 63.16 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.02498, allocations: 95.84 kB / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.02498, allocations: 0 / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005663/0.02554, allocations: 189.2 kB / 386.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.02558, allocations: 10.17 kB / 386.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.02559, allocations: 7.938 kB / 386.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.02562, allocations: 0 / 386.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.02579, allocations: 20 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.02581, allocations: 3.984 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.02598, allocations: 7.938 kB / 386.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.02601, allocations: 11.97 kB / 386.3 MB, free: 9.656 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.0003614/0.02637, allocations: 226.3 kB / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.02651, allocations: 55.62 kB / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.02717, allocations: 209.8 kB / 386.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02717, allocations: 0 / 386.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.02718, allocations: 4 kB / 386.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.02719, allocations: 0 / 386.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.02769, allocations: 269.4 kB / 387.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.0277, allocations: 4 kB / 387.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.02777, allocations: 8 kB / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.02778, allocations: 4 kB / 387.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.0278, allocations: 3.984 kB / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.02781, allocations: 3.938 kB / 387.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.02781, allocations: 8 kB / 387.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.02845, allocations: 233.4 kB / 387.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.02864, allocations: 63.59 kB / 387.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.02871, allocations: 4 kB / 387.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.02885, allocations: 7.938 kB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.02893, allocations: 11.98 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.02896, allocations: 7.984 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.03052, allocations: 0.7682 MB / 388.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03052, allocations: 0 / 388.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.03131, allocations: 44 kB / 388.2 MB, free: 7.68 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.002816/0.03413, allocations: 439.8 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.03455, allocations: 91.78 kB / 388.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.03455, allocations: 0 / 388.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.03474, allocations: 39.97 kB / 388.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.0355, allocations: 79.78 kB / 388.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.0378, allocations: 0.8936 MB / 389.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.03829, allocations: 245.7 kB / 390 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.03851, allocations: 58.94 kB / 390.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.03863, allocations: 28.48 kB / 390.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.03863, allocations: 0 / 390.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of Templates: time 0.0149/0.05353, allocations: 4 MB / 394.1 MB, free: 1.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.242861076956615]