Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.001013/0.001013, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002574, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001368/0.001368, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.003093, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2113/1.234, allocations: 49.49 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1876/0.1876, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02275/0.2103, allocations: 12.29 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.653e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003243/0.00327, allocations: 1.639 MB / 268.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004834, allocations: 1.099 MB / 270 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.004907, allocations: 0 / 270 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.005123, allocations: 23.84 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.005398, allocations: 43.72 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.005759, allocations: 91.75 kB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.005955, allocations: 63.77 kB / 270.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.006062, allocations: 4 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.006199, allocations: 47.89 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.006349, allocations: 23.92 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.006374, allocations: 4 kB / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.006553, allocations: 43.92 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.006607, allocations: 15.92 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.006639, allocations: 8 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.006869, allocations: 79.67 kB / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.027e-05/0.006889, allocations: 0 / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.006892, allocations: 4 kB / 270.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.006917, allocations: 0 / 270.4 MB, free: 3.32 MB / 266.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.000543/0.00746, allocations: 292.1 kB / 270.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.007509, allocations: 16.03 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.007548, allocations: 0.9375 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.007734, allocations: 121.7 kB / 270.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.007746, allocations: 4.375 kB / 270.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.00777, allocations: 4.375 kB / 270.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.007934, allocations: 102.3 kB / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.007945, allocations: 192 / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.007955, allocations: 4.125 kB / 270.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.007963, allocations: 4 kB / 270.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.00799, allocations: 4 kB / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.008311, allocations: 163.1 kB / 271.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.008502, allocations: 33.33 kB / 271.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.008527, allocations: 13.02 kB / 271.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.00855, allocations: 3.984 kB / 271.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.008583, allocations: 38.56 kB / 271.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.008585, allocations: 0 / 271.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003887/0.008973, allocations: 89.41 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.009017, allocations: 55.39 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.009151, allocations: 136.3 kB / 271.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.00917, allocations: 29.7 kB / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.009215, allocations: 96.06 kB / 271.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.00924, allocations: 11.86 kB / 271.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.009281, allocations: 21.7 kB / 271.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.009397, allocations: 322.8 kB / 271.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.009414, allocations: 4 kB / 271.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.009454, allocations: 39.42 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.009497, allocations: 27.61 kB / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.009499, allocations: 0 / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.769e-05/0.009587, allocations: 45.62 kB / 272 MB, free: 1.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.009606, allocations: 8 kB / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009612, allocations: 32 / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.009623, allocations: 4 kB / 272.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.009694, allocations: 15.98 kB / 272.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.009697, allocations: 0 / 272.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.009724, allocations: 4 kB / 272.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.00973, allocations: 0 / 272.1 MB, free: 1.453 MB / 266.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 8.244e-05/0.009813, allocations: 116.7 kB / 272.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.009846, allocations: 7.938 kB / 272.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.009981, allocations: 65.67 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.009984, allocations: 320 / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.009987, allocations: 4 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.00999, allocations: 0 / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.01028, allocations: 214.8 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.01029, allocations: 3.938 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.01034, allocations: 12 kB / 272.5 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.01035, allocations: 3.953 kB / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01035, allocations: 0 / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01036, allocations: 8 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01037, allocations: 0 / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01037, allocations: 3.984 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.01048, allocations: 139.5 kB / 272.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01049, allocations: 4 kB / 272.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.01055, allocations: 8 kB / 272.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.01058, allocations: 3.984 kB / 272.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.01058, allocations: 0 / 272.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.01062, allocations: 31.59 kB / 272.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01062, allocations: 3.938 kB / 272.7 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01087, allocations: 20 kB / 272.7 MB, free: 0.7578 MB / 266.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.001626/0.0125, allocations: 0.5941 MB / 273.3 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01262, allocations: 32.83 kB / 273.3 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.01263, allocations: 8 kB / 273.3 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.01265, allocations: 16.8 kB / 273.4 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01288, allocations: 27.92 kB / 273.4 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.01347, allocations: 162 kB / 273.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.01352, allocations: 63.34 kB / 273.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.01358, allocations: 7.984 kB / 273.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.01365, allocations: 63.36 kB / 273.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01365, allocations: 0 / 273.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of Templates: time 0.003453/0.01711, allocations: 1.558 MB / 275.2 MB, free: 14.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.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.111051612533629]