Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001218/0.001218, 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.001372/0.001372, allocations: 168 kB / 25 MB, free: 8.871 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.245/0.245, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.761e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002094/0.002112, allocations: 1.641 MB / 377.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000689/0.002801, allocations: 0.5258 MB / 378.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.002853, allocations: 0 / 378.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.003052, allocations: 27.78 kB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.003285, allocations: 79.56 kB / 378.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.003534, allocations: 91.62 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.003672, allocations: 71.77 kB / 378.4 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.003763, allocations: 15.98 kB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.00382, allocations: 31.91 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.003871, allocations: 11.92 kB / 378.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.003886, allocations: 4 kB / 378.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.00395, allocations: 39.86 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.003991, allocations: 7.984 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.004017, allocations: 11.94 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004162, allocations: 71.73 kB / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004164, allocations: 0 / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004165, allocations: 0 / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004168, allocations: 0 / 378.6 MB, free: 2.336 MB / 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.0003278/0.004496, allocations: 412.2 kB / 379 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004531, allocations: 12.03 kB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.004572, allocations: 8.891 kB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.004716, allocations: 134.8 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.004725, allocations: 4.375 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.004747, allocations: 4.375 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.004853, allocations: 54.94 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.004861, allocations: 192 / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.004871, allocations: 8.125 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.004878, allocations: 4 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.004907, allocations: 8 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.005161, allocations: 271.7 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.0053, allocations: 43.05 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.005322, allocations: 11.69 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.00534, allocations: 3.938 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.00536, allocations: 41.39 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.005361, allocations: 0 / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003155/0.005676, allocations: 101.5 kB / 379.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.005702, allocations: 51.41 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.005805, allocations: 200.5 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005816, allocations: 29.7 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.005996, allocations: 142.8 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006014, allocations: 27.73 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.006042, allocations: 23.38 kB / 380.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.006142, allocations: 0.4923 MB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.006158, allocations: 4 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.006172, allocations: 8.172 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.006205, allocations: 23.69 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.006206, allocations: 4 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.624e-05/0.006282, allocations: 61.58 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.006295, allocations: 12 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006299, allocations: 3.938 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.00631, allocations: 0 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.006347, allocations: 11.94 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006352, allocations: 0 / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.006369, allocations: 7.984 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.006373, allocations: 0 / 380.8 MB, free: 15.94 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 5.928e-05/0.006433, allocations: 156.6 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.006451, allocations: 15.89 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.006559, allocations: 66.14 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00656, allocations: 0 / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006564, allocations: 4 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006567, allocations: 0 / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.006772, allocations: 317.4 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006773, allocations: 3.984 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.0068, allocations: 8 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.006803, allocations: 4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006809, allocations: 0 / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.00681, allocations: 192 / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.006811, allocations: 4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.006905, allocations: 216 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-06/0.006912, allocations: 7.953 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006923, allocations: 3.984 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.006954, allocations: 4 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.006981, allocations: 7.984 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006985, allocations: 4 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.007036, allocations: 147.2 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007036, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.007191, allocations: 12 kB / 381.8 MB, free: 14.9 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.000791/0.007982, allocations: 380.5 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.008064, allocations: 31.61 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008065, allocations: 7.938 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.008085, allocations: 15.69 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.008282, allocations: 31.06 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.008569, allocations: 170.6 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.008604, allocations: 59.34 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.00863, allocations: 15.97 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.008653, allocations: 16.5 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.008654, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Templates: time 0.002866/0.01152, allocations: 1.156 MB / 383.7 MB, free: 13.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.237102961167693]