Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.0009096/0.0009096, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001167/0.001167, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.559 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.2779/0.2779, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test20,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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.259e-05/5.576e-05, allocations: 6.25 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003755/0.00381, allocations: 1.645 MB / 377.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.005906, allocations: 1.278 MB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.005983, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.006286, allocations: 23.78 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.006599, allocations: 91.53 kB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.006838, allocations: 111.5 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.006981, allocations: 79.77 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.007077, allocations: 7.984 kB / 379.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.007135, allocations: 35.91 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.007237, allocations: 27.91 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.007251, allocations: 4 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.00739, allocations: 83.83 kB / 379.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.007436, allocations: 19.91 kB / 379.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.007467, allocations: 11.94 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.007671, allocations: 131.6 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.007674, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007676, allocations: 4 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007681, allocations: 0 / 379.6 MB, free: 1.375 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.0004262/0.008107, allocations: 435.9 kB / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.008144, allocations: 12.02 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.0082, allocations: 8.891 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.008361, allocations: 132.5 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.008371, allocations: 4.375 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.008392, allocations: 4.375 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.008532, allocations: 104 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.008541, allocations: 192 / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.008552, allocations: 4.125 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.00856, allocations: 4 kB / 380.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.008588, allocations: 7.938 kB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.008887, allocations: 279.8 kB / 380.5 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.009039, allocations: 43.05 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.009062, allocations: 19.7 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.009081, allocations: 3.938 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.009105, allocations: 37.39 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.009107, allocations: 0 / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003494/0.009456, allocations: 101.4 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.009507, allocations: 81.11 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.009631, allocations: 199.9 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.009643, allocations: 29.7 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.009691, allocations: 138.9 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.009713, allocations: 23.83 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.009744, allocations: 23.38 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.009856, allocations: 0.4923 MB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.009874, allocations: 4 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.009909, allocations: 49.08 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.009951, allocations: 35.8 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.009952, allocations: 4.031 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.843e-05/0.01003, allocations: 57.58 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01004, allocations: 7.984 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01005, allocations: 4 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01006, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.01011, allocations: 8 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01012, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.01014, allocations: 11.89 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.01015, allocations: 3.984 kB / 381.9 MB, free: 14.8 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 6.435e-05/0.01021, allocations: 160.6 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.01023, allocations: 15.89 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.01035, allocations: 70.08 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01035, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01036, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01036, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.01059, allocations: 317.4 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01059, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.01062, allocations: 11.94 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01063, allocations: 4 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.01063, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01064, allocations: 7.984 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01064, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.01074, allocations: 212 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.01075, allocations: 7.953 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.01077, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.0108, allocations: 4 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.01083, allocations: 7.984 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.01083, allocations: 4 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.0109, allocations: 145 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0109, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.0111, allocations: 39.86 kB / 382.9 MB, free: 13.73 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.001038/0.01214, allocations: 492.1 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01225, allocations: 31.67 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01225, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.01227, allocations: 23.81 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01249, allocations: 27.55 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.01283, allocations: 173.8 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.01286, allocations: 59.34 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.01291, allocations: 15.97 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.01294, allocations: 20.48 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01294, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003622/0.01656, allocations: 1.84 MB / 385.5 MB, free: 11.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.3320353568997234]