Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009399/0.0009399, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.00252, 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.0009694/0.0009694, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002277, 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 1.034/1.034, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09955/1.134, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2929/0.2929, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02728/0.3202, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.365e-05, allocations: 5.328 kB / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002466/0.00249, allocations: 1.967 MB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004045, allocations: 1.131 MB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004145, allocations: 7.938 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.004493, allocations: 299.1 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.004881, allocations: 251 kB / 296.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.00516, allocations: 115.6 kB / 296.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.005479, allocations: 271.2 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005582, allocations: 26.53 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.005819, allocations: 220.8 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.005979, allocations: 151.6 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.006002, allocations: 8 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.006126, allocations: 67.86 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.006197, allocations: 63.78 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.006255, allocations: 35.81 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.006489, allocations: 195.2 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.006501, allocations: 0 / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006502, allocations: 4 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.006513, allocations: 3.938 kB / 297.5 MB, free: 1.398 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005288/0.007042, allocations: 0.527 MB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.007073, allocations: 12.03 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.007116, allocations: 20.92 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.007325, allocations: 228.1 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.007341, allocations: 8.312 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.007366, allocations: 12.38 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.007514, allocations: 110.1 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007524, allocations: 3.938 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.007555, allocations: 0 / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007565, allocations: 4 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.007629, allocations: 41.5 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.007946, allocations: 300.8 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.008161, allocations: 182.6 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.008197, allocations: 33.89 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.008211, allocations: 4 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.008345, allocations: 113.4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.008347, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006399/0.008986, allocations: 312.1 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.009027, allocations: 85.05 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.009233, allocations: 357 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.00925, allocations: 33.7 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.009297, allocations: 129.5 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.009343, allocations: 71.42 kB / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.009385, allocations: 41.69 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.009478, allocations: 350.7 kB / 300.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.009508, allocations: 30.81 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.009554, allocations: 61.97 kB / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.009641, allocations: 104.6 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.009642, allocations: 0 / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001331/0.009775, allocations: 135.2 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.009788, allocations: 4 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009793, allocations: 4 kB / 300.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.009802, allocations: 4.062 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.009897, allocations: 51.92 kB / 300.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009901, allocations: 3.984 kB / 300.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.009946, allocations: 11.94 kB / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.009955, allocations: 4.938 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.116e-05/0.01004, allocations: 128.6 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.01006, allocations: 23.97 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.01025, allocations: 165.9 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01026, allocations: 4 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01026, allocations: 4 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01027, allocations: 0 / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.01077, allocations: 0.5633 MB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01077, allocations: 4 kB / 301.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.01084, allocations: 39.92 kB / 301.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.01087, allocations: 39.69 kB / 301.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01087, allocations: 0 / 301.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.01088, allocations: 8 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01089, allocations: 12.11 kB / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01089, allocations: 0 / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.01109, allocations: 420.6 kB / 302.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01112, allocations: 8 kB / 302.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.01119, allocations: 11.98 kB / 302.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.01124, allocations: 19.97 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01126, allocations: 4 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01137, allocations: 167.5 kB / 302.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 302.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.01159, allocations: 51.94 kB / 302.5 MB, free: 12.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002826/0.01441, allocations: 0.728 MB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01466, allocations: 97.69 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.01467, allocations: 4 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.01476, allocations: 64.64 kB / 303.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.01528, allocations: 101.2 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.01649, allocations: 0.5082 MB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.0166, allocations: 108.3 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.01672, allocations: 33.94 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.01688, allocations: 99.33 kB / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01688, allocations: 0 / 304.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of Templates: time 0.008075/0.02495, allocations: 3.704 MB / 307.9 MB, free: 7.051 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.0517318034544587]