Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001019/0.001019, 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.001014/0.001014, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 0.9912/0.9912, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2696/0.2696, allocations: 34.25 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.534e-05, allocations: 2.312 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002568/0.002603, allocations: 1.641 MB / 379.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.003345, allocations: 0.5336 MB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.003404, allocations: 0 / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.003634, allocations: 27.73 kB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.00389, allocations: 75.67 kB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.004158, allocations: 123.5 kB / 380.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.004255, allocations: 63.84 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.004343, allocations: 7.984 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.004391, allocations: 35.84 kB / 380.5 MB, free: 476 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.004436, allocations: 19.92 kB / 380.6 MB, free: 456 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.004449, allocations: 0 / 380.6 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.004512, allocations: 27.98 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.004551, allocations: 19.92 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.004576, allocations: 15.92 kB / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004708, allocations: 67.75 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00471, allocations: 4 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004711, allocations: 0 / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004715, allocations: 0 / 380.7 MB, free: 320 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000651/0.005366, allocations: 408.1 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.508e-05/0.005391, allocations: 8.031 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.00542, allocations: 16.88 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.005515, allocations: 134.7 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.005522, allocations: 4.375 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.005532, allocations: 384 / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.005602, allocations: 54.95 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-06/0.005607, allocations: 192 / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.005614, allocations: 8.125 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005617, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.005642, allocations: 15.98 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.005849, allocations: 275.8 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.005999, allocations: 43.05 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.006021, allocations: 7.688 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.006042, allocations: 7.938 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.006064, allocations: 33.39 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006065, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003276/0.006392, allocations: 113.4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.006426, allocations: 63.33 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.006543, allocations: 200.6 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.006556, allocations: 25.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.006615, allocations: 142.9 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.006644, allocations: 23.8 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.006676, allocations: 19.38 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.006814, allocations: 0.4923 MB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.00683, allocations: 4 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.006843, allocations: 8 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.006878, allocations: 27.67 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.006878, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.454e-05/0.006973, allocations: 69.52 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.006981, allocations: 4 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.006984, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.006991, allocations: 4 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/0.007023, allocations: 8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.007027, allocations: 0 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.007045, allocations: 3.984 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.007048, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.415e-05/0.007122, allocations: 156.6 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.007143, allocations: 15.89 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.007258, allocations: 70.12 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007259, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.007261, allocations: 4.25 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007264, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.007509, allocations: 325.4 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007509, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.007536, allocations: 11.98 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.007538, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.007542, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007543, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007544, allocations: 0 / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.00765, allocations: 211.8 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.007658, allocations: 7.953 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.007668, allocations: 3.984 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.007699, allocations: 8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.007725, allocations: 3.938 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.007727, allocations: 0 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.236e-05/0.00779, allocations: 151.2 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00779, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.007955, allocations: 16 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009093/0.008865, allocations: 374.2 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.008957, allocations: 35.61 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008958, allocations: 4 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.008981, allocations: 19.69 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.009199, allocations: 23.86 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.009539, allocations: 178.6 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.009578, allocations: 63.34 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.009613, allocations: 12.23 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.009638, allocations: 12.5 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009639, allocations: 4 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Templates: time 0.00302/0.01266, allocations: 1.175 MB / 385.7 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.2499838951043785]