Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001205/0.001205, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002077/0.003282, 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.001308/0.001308, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00185/0.003159, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.11/1.11, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1215/1.232, 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.3467/0.3467, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05331/0.4, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.25e-05, allocations: 3.188 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002966/0.002998, allocations: 1.765 MB / 292.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004484, allocations: 1.004 MB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.004589, allocations: 1.531 kB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.004869, allocations: 51 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.00511, allocations: 101.9 kB / 293.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.005277, allocations: 71.67 kB / 293.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.005448, allocations: 107.6 kB / 293.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.005504, allocations: 12.16 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.005643, allocations: 71.83 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.005727, allocations: 23.91 kB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.005745, allocations: 4 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.005827, allocations: 39.92 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.005879, allocations: 23.86 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.005918, allocations: 15.94 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.006105, allocations: 103.6 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.991e-05/0.006125, allocations: 0 / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006126, allocations: 4 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.006144, allocations: 0 / 294.1 MB, free: 4.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005509/0.006694, allocations: 356.4 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.006731, allocations: 11.97 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.00677, allocations: 8.922 kB / 294.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006951, allocations: 158.5 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.006967, allocations: 384 / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.006979, allocations: 8.375 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.007097, allocations: 53.77 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007108, allocations: 15.88 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.007116, allocations: 0 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.00712, allocations: 0 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.007148, allocations: 7.984 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.007254, allocations: 70.7 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.007347, allocations: 37.38 kB / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.007369, allocations: 12.84 kB / 294.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.007387, allocations: 8 kB / 294.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.0075, allocations: 58.22 kB / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007501, allocations: 0 / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001301/0.007631, allocations: 65.61 kB / 294.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.007667, allocations: 55.34 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.007802, allocations: 214.3 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.007818, allocations: 29.7 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.007849, allocations: 92.11 kB / 295.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.007882, allocations: 19.83 kB / 295.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.007913, allocations: 21.7 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.008002, allocations: 326.8 kB / 295.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.008017, allocations: 10.83 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.00804, allocations: 21.7 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.00808, allocations: 35.55 kB / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008083, allocations: 0 / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.655e-05/0.008149, allocations: 64.5 kB / 295.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.008163, allocations: 8 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008168, allocations: 0 / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.008176, allocations: 0 / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.008258, allocations: 23.86 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008262, allocations: 4.031 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.008293, allocations: 4 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.008299, allocations: 0 / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.903e-05/0.008378, allocations: 116.7 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.008388, allocations: 7.984 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.008491, allocations: 70.77 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008493, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008496, allocations: 3.938 kB / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008501, allocations: 0 / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285e-05/0.008584, allocations: 93.78 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008585, allocations: 4 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.008604, allocations: 8 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.008618, allocations: 11.91 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.008622, allocations: 3.984 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.008627, allocations: 3.984 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008628, allocations: 0 / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.00863, allocations: 3.938 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.008696, allocations: 90.75 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.008711, allocations: 0 / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.008728, allocations: 4.188 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.008756, allocations: 7.922 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.008767, allocations: 12 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.008824, allocations: 79.7 kB / 296.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008824, allocations: 0 / 296.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000113/0.008937, allocations: 19.92 kB / 296.4 MB, free: 2.281 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001413/0.01035, allocations: 0.5513 MB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.01043, allocations: 24.84 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.01044, allocations: 12 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.01047, allocations: 24.86 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.01062, allocations: 39.69 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.01111, allocations: 232 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01115, allocations: 71.33 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.01119, allocations: 12.48 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.01127, allocations: 67.36 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01127, allocations: 0 / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of Templates: time 0.003903/0.01518, allocations: 1.822 MB / 299.2 MB, free: 15.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.308547977358103]