Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001328/0.001328, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001209/0.001209, allocations: 164.2 kB / 24.99 MB, free: 8.793 MB / 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2871/0.2871, allocations: 32.81 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.281e-05, allocations: 2.312 kB / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003817/0.00385, allocations: 1.848 MB / 377.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.005843, allocations: 1.08 MB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.005981, allocations: 3.938 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.006645, allocations: 307.1 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.007269, allocations: 259 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.007618, allocations: 115.6 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.008043, allocations: 271.2 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.00811, allocations: 5.812 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.008366, allocations: 159.6 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.008679, allocations: 199.6 kB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.008713, allocations: 8 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.008844, allocations: 51.92 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.008993, allocations: 143.5 kB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.00909, allocations: 71.67 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.009493, allocations: 278.9 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.009497, allocations: 4 kB / 380.8 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009498, allocations: 3.938 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.009505, allocations: 0 / 380.8 MB, free: 120 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.001042/0.01055, allocations: 0.7942 MB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01059, allocations: 8.031 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.01072, allocations: 56.56 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.01124, allocations: 324.7 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.01127, allocations: 12.36 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.01129, allocations: 4.375 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.01153, allocations: 98.17 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01155, allocations: 3.938 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.01156, allocations: 8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.01158, allocations: 3.984 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.01164, allocations: 15.98 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.0121, allocations: 312.2 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.01232, allocations: 102.1 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.0124, allocations: 35.36 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01242, allocations: 4 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.01262, allocations: 108.3 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.01262, allocations: 0 / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004143/0.01303, allocations: 181.1 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.01309, allocations: 81.11 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/0.01391, allocations: 0.7097 MB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.01393, allocations: 33.7 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.01416, allocations: 302.8 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.01422, allocations: 35.78 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.01428, allocations: 39.38 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.01453, allocations: 0.5586 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.01459, allocations: 12 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.01467, allocations: 74.41 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.0148, allocations: 71.25 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.0148, allocations: 3.938 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.01507, allocations: 149.3 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.01509, allocations: 12.06 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.0151, allocations: 3.938 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.01513, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.01527, allocations: 23.98 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.01528, allocations: 3.938 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.01537, allocations: 11.89 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01539, allocations: 7.984 kB / 385 MB, free: 11.67 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.000155/0.01555, allocations: 169.2 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.01561, allocations: 51.67 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.01592, allocations: 169.8 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01593, allocations: 4 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.01593, allocations: 3.984 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01594, allocations: 3.938 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.01629, allocations: 316.4 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01629, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.01635, allocations: 16.23 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01635, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.01637, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.01637, allocations: 7.938 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01638, allocations: 3.938 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01668, allocations: 215.7 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.01678, allocations: 59.66 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.01683, allocations: 0 / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.01691, allocations: 11.92 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.01697, allocations: 11.98 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.01699, allocations: 4 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005481/0.01754, allocations: 482.8 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01754, allocations: 0 / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.01788, allocations: 47.98 kB / 386.5 MB, free: 10.04 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.001262/0.01915, allocations: 404.3 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.01935, allocations: 67.59 kB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01935, allocations: 0 / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.01943, allocations: 43.73 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.01988, allocations: 82.05 kB / 387.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02102, allocations: 0.6753 MB / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.02114, allocations: 128.2 kB / 387.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.02126, allocations: 43.44 kB / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.02135, allocations: 28.48 kB / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.02135, allocations: 0 / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of Templates: time 0.008458/0.02981, allocations: 4.058 MB / 392.1 MB, free: 4.641 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.379364676075056]