Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001063/0.001063, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.00239, allocations: 449.7 kB / 10.37 MB, free: 328 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.000729/0.000729, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.00173, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9741/0.9741, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.079, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.2728/0.2728, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02554/0.2983, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,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.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.568e-05, allocations: 4.422 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002378/0.002394, allocations: 1.68 MB / 292.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.0062, allocations: 0.5646 MB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.006247, allocations: 1.656 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.006367, allocations: 20.03 kB / 292.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.006561, allocations: 85.55 kB / 293 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.006783, allocations: 90.02 kB / 293.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.006935, allocations: 77.61 kB / 293.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.007015, allocations: 16.22 kB / 293.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.007111, allocations: 58.27 kB / 293.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.007184, allocations: 22.42 kB / 293.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.007201, allocations: 4.75 kB / 293.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.007378, allocations: 98.97 kB / 293.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.007413, allocations: 15.92 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.007441, allocations: 19.94 kB / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.007654, allocations: 127.6 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.007668, allocations: 3.938 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.007669, allocations: 0 / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.007683, allocations: 0 / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004278/0.008111, allocations: 328.5 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.008144, allocations: 12.03 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.008177, allocations: 4.938 kB / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.008331, allocations: 137.7 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.008341, allocations: 384 / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.008362, allocations: 8.359 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.01051, allocations: 106.3 kB / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.01052, allocations: 192 / 294.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.01053, allocations: 4.125 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.01053, allocations: 0 / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.01056, allocations: 4 kB / 294.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.01079, allocations: 179 kB / 294.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.01084, allocations: 41.39 kB / 294.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.01086, allocations: 12.98 kB / 294.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01088, allocations: 0 / 294.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.0109, allocations: 38.56 kB / 294.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.0109, allocations: 0 / 294.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000284/0.01119, allocations: 109.5 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.01121, allocations: 55.41 kB / 294.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01132, allocations: 140.3 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.01133, allocations: 33.7 kB / 294.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.01137, allocations: 103.9 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.01138, allocations: 11.86 kB / 294.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.01142, allocations: 29.69 kB / 294.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.0115, allocations: 326.8 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.01151, allocations: 10.83 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.01155, allocations: 51.73 kB / 295.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.01159, allocations: 38.47 kB / 295.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01159, allocations: 4 kB / 295.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.375e-05/0.01167, allocations: 64.39 kB / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01168, allocations: 11.98 kB / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.01168, allocations: 0 / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.01169, allocations: 0 / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.01177, allocations: 19.98 kB / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.01177, allocations: 0 / 295.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.0118, allocations: 8.031 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.0118, allocations: 4 kB / 295.4 MB, free: 3.344 MB / 282.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 (9): * Single equations (assignments): 9 * 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.093e-05/0.01185, allocations: 112.7 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01188, allocations: 15.92 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.01198, allocations: 74.28 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.01198, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01198, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.01198, allocations: 0 / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.01223, allocations: 286.7 kB / 295.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01223, allocations: 0 / 295.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.01228, allocations: 23.98 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01229, allocations: 15.92 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.01229, allocations: 0 / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.0123, allocations: 0 / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.0123, allocations: 4 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0123, allocations: 0 / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.923e-05/0.01239, allocations: 151.4 kB / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.0124, allocations: 8 kB / 296 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.01245, allocations: 0 / 296 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.01248, allocations: 7.984 kB / 296 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.01248, allocations: 0 / 296 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.01252, allocations: 50 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01252, allocations: 0 / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.01274, allocations: 43.86 kB / 296.1 MB, free: 2.508 MB / 282.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 (8): * Single equations (assignments): 8 * 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.005657/0.0184, allocations: 0.6965 MB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.0185, allocations: 32.78 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01851, allocations: 4 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.01853, allocations: 28.83 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01873, allocations: 35.88 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.01916, allocations: 186.8 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.0192, allocations: 67.2 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.01925, allocations: 12.64 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.01932, allocations: 71.34 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01932, allocations: 0 / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Templates: time 0.01014/0.02946, allocations: 2.272 MB / 299.5 MB, free: 15.45 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.0101321190595627]