Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.0008732/0.0008732, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002064, 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.000712/0.000712, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009724/0.001684, 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 0.9919/0.9919, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1842/1.176, allocations: 49.5 MB / 220.5 MB, free: 5.281 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.146/0.146, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02392/0.1699, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.111e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003237/0.003268, allocations: 1.631 MB / 268.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004656, allocations: 1.095 MB / 269.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.00471, allocations: 4 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.004876, allocations: 15.86 kB / 270 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.005033, allocations: 47.7 kB / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.005242, allocations: 71.77 kB / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.005379, allocations: 55.8 kB / 270.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.005476, allocations: 11.98 kB / 270.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.005575, allocations: 43.91 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005686, allocations: 19.91 kB / 270.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.005705, allocations: 8 kB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.005881, allocations: 51.91 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.005928, allocations: 11.94 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.00595, allocations: 4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.006127, allocations: 79.62 kB / 270.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.006145, allocations: 0 / 270.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.006147, allocations: 0 / 270.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.006162, allocations: 0 / 270.4 MB, free: 3.363 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.0004304/0.006592, allocations: 296.1 kB / 270.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.006627, allocations: 8.031 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.006664, allocations: 8.922 kB / 270.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.006811, allocations: 129.7 kB / 270.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.006821, allocations: 4.359 kB / 270.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.006841, allocations: 8.312 kB / 270.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006962, allocations: 90.38 kB / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00697, allocations: 192 / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.006979, allocations: 8.125 kB / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.006985, allocations: 0 / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.007006, allocations: 4 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.007208, allocations: 167 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.007355, allocations: 26.58 kB / 271.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.007372, allocations: 12.94 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.007389, allocations: 0 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.007412, allocations: 34.56 kB / 271.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.007412, allocations: 0 / 271.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003044/0.007717, allocations: 93.77 kB / 271.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.007785, allocations: 51.41 kB / 271.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.007877, allocations: 132.3 kB / 271.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.007886, allocations: 25.7 kB / 271.4 MB, free: 2.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.007916, allocations: 88.12 kB / 271.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.007943, allocations: 31.72 kB / 271.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.007968, allocations: 17.72 kB / 271.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.008043, allocations: 318.8 kB / 271.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.008056, allocations: 4 kB / 271.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.008085, allocations: 47.36 kB / 271.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.008112, allocations: 20.84 kB / 272 MB, free: 1.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008113, allocations: 0 / 272 MB, free: 1.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.974e-05/0.008173, allocations: 45.62 kB / 272 MB, free: 1.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.008188, allocations: 4 kB / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008195, allocations: 4 kB / 272 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.008207, allocations: 7.969 kB / 272 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.008258, allocations: 12.03 kB / 272 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.008262, allocations: 3.984 kB / 272 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.008279, allocations: 7.938 kB / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.008285, allocations: 4 kB / 272 MB, free: 1.496 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 6.127e-05/0.008346, allocations: 116.7 kB / 272.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.008362, allocations: 7.938 kB / 272.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.008446, allocations: 53.8 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008448, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00845, allocations: 320 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008453, allocations: 0 / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.008654, allocations: 218.8 kB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.00866, allocations: 7.922 kB / 272.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.008699, allocations: 12 kB / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.008708, allocations: 3.953 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.00871, allocations: 0 / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.008717, allocations: 4 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.008718, allocations: 0 / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008719, allocations: 0 / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.0088, allocations: 151.4 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.00881, allocations: 0 / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.008839, allocations: 8 kB / 272.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.008871, allocations: 3.984 kB / 272.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008876, allocations: 0 / 272.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.008909, allocations: 31.66 kB / 272.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008909, allocations: 0 / 272.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.009064, allocations: 23.88 kB / 272.7 MB, free: 0.8086 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.001276/0.01034, allocations: 0.5978 MB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.01044, allocations: 24.84 kB / 273.3 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.01044, allocations: 8 kB / 273.3 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.01046, allocations: 20.8 kB / 273.3 MB, free: 144 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01065, allocations: 27.86 kB / 273.3 MB, free: 116 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.01107, allocations: 154 kB / 273.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.0111, allocations: 59.34 kB / 273.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.01114, allocations: 19.97 kB / 273.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.0112, allocations: 67.34 kB / 273.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0112, allocations: 0 / 273.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.00334/0.01454, allocations: 1.543 MB / 275.2 MB, free: 14.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/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: 2.859005627222359]