Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.00116/0.00116, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001125/0.001125, allocations: 161 kB / 24.55 MB, free: 24 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 0.9964/0.9964, allocations: 177.1 MB / 205 MB, free: 5.629 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.2591/0.2591, allocations: 32.81 MB / 294.3 MB, free: 1.309 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.502e-05, allocations: 6.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002298/0.002323, allocations: 1.692 MB / 377.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.003089, allocations: 0.5493 MB / 378.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.003142, allocations: 3.938 kB / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.003341, allocations: 35.77 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.003564, allocations: 87.55 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.003773, allocations: 123.5 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003904, allocations: 87.83 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.004, allocations: 19.97 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.004061, allocations: 43.84 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.004132, allocations: 31.89 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.004147, allocations: 4 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.00422, allocations: 51.92 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.004264, allocations: 31.84 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.004294, allocations: 15.94 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004442, allocations: 91.7 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004445, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004445, allocations: 3.938 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.00445, allocations: 0 / 378.9 MB, free: 1.766 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003533/0.004803, allocations: 439.9 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.004844, allocations: 12.03 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.004885, allocations: 20.84 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.005004, allocations: 140.5 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.005012, allocations: 384 / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.005038, allocations: 12.33 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005148, allocations: 70.69 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.005161, allocations: 12.17 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.005171, allocations: 4.125 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005178, allocations: 0 / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.005219, allocations: 23.92 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.005538, allocations: 319.6 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.005629, allocations: 54.98 kB / 380 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.005665, allocations: 27.67 kB / 380 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.005691, allocations: 3.984 kB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.005714, allocations: 37.39 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.005715, allocations: 0 / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006376/0.006353, allocations: 233.6 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.00638, allocations: 55.41 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.006507, allocations: 205.8 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.00652, allocations: 37.7 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.006571, allocations: 146.8 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.006604, allocations: 47.78 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.00664, allocations: 35.36 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.006753, allocations: 0.4884 MB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.006785, allocations: 19.98 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.006813, allocations: 20.11 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.006881, allocations: 51.67 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006882, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001094/0.006991, allocations: 100.7 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007003, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.007009, allocations: 12 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.007023, allocations: 0 / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.007109, allocations: 23.98 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.007115, allocations: 3.938 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.007138, allocations: 11.98 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.007144, allocations: 0 / 381.5 MB, free: 14.93 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 (13): * Single equations (assignments): 13 * 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 6.818e-05/0.007212, allocations: 164.5 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.007237, allocations: 19.91 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.007411, allocations: 122.4 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007413, allocations: 0 / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.007418, allocations: 7.938 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.007423, allocations: 4 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.007828, allocations: 412.9 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.00783, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.007888, allocations: 31.86 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.007892, allocations: 4 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.0079, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007902, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.007904, allocations: 7.984 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.008051, allocations: 263.6 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.008063, allocations: 15.84 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.008077, allocations: 4 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.008112, allocations: 7.938 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.008145, allocations: 7.984 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.008151, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.008211, allocations: 158 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008211, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.008387, allocations: 27.94 kB / 382.8 MB, free: 13.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001048/0.009435, allocations: 433.4 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.009569, allocations: 71.53 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009571, allocations: 0 / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.009621, allocations: 43.53 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.009847, allocations: 31.91 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.01022, allocations: 238.4 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.01026, allocations: 71.33 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.01031, allocations: 20.55 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.01034, allocations: 20.48 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01034, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003352/0.0137, allocations: 1.613 MB / 385.3 MB, free: 11.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.235625324770808]