Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 195 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.91 MB / 352.1 MB, free: 12.31 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 64.09 kB / 495.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 64.25 MB / 0.5468 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003283/0.3002, allocations: 1.719 MB / 0.5485 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3018, allocations: 0.8825 MB / 0.5494 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.3018, allocations: 5 kB / 0.5494 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3021, allocations: 35.31 kB / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3023, allocations: 62.2 kB / 0.5495 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3027, allocations: 115 kB / 0.5496 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3029, allocations: 94.47 kB / 0.5497 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.303, allocations: 12.81 kB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.3031, allocations: 39.17 kB / 0.5497 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.3031, allocations: 34.42 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3032, allocations: 3.094 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3033, allocations: 38.84 kB / 0.5498 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.3033, allocations: 22.83 kB / 0.5498 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.3034, allocations: 35.55 kB / 0.5499 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3036, allocations: 118.2 kB / 0.55 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3036, allocations: 5.188 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3036, allocations: 0 / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3036, allocations: 0 / 0.55 GB, free: 10.81 MB / 398.1 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.000582/0.3042, allocations: 411.5 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3042, allocations: 13.75 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.3043, allocations: 9.141 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3046, allocations: 212.2 kB / 0.5506 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3046, allocations: 5.953 kB / 0.5506 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3046, allocations: 6.656 kB / 0.5506 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3048, allocations: 58.02 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3048, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3048, allocations: 1.062 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3048, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.3049, allocations: 19.55 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3053, allocations: 293.3 kB / 0.551 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3054, allocations: 55.88 kB / 0.551 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.3055, allocations: 20.84 kB / 0.551 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3055, allocations: 1.562 kB / 0.551 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3057, allocations: 69.05 kB / 0.5511 GB, free: 9.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.3057, allocations: 0 / 0.5511 GB, free: 9.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.3062, allocations: 174.2 kB / 0.5513 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3063, allocations: 52.91 kB / 0.5513 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3065, allocations: 187 kB / 0.5515 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3065, allocations: 26.86 kB / 0.5515 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.3065, allocations: 102 kB / 0.5516 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3066, allocations: 26.72 kB / 0.5516 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3066, allocations: 28.69 kB / 0.5517 GB, free: 9.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3068, allocations: 325.8 kB / 0.552 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.3068, allocations: 22.98 kB / 0.552 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.3069, allocations: 40.08 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.307, allocations: 58.7 kB / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.307, allocations: 0 / 0.5521 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3072, allocations: 107.3 kB / 0.5522 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3072, allocations: 5.531 kB / 0.5522 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3072, allocations: 5.109 kB / 0.5522 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3073, allocations: 1.094 kB / 0.5522 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.3073, allocations: 17.02 kB / 0.5522 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3074, allocations: 1.031 kB / 0.5522 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3074, allocations: 6.062 kB / 0.5522 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3074, allocations: 2.094 kB / 0.5522 GB, free: 8.672 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 0.0001083/0.3075, allocations: 135.9 kB / 0.5524 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3075, allocations: 16.72 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.3078, allocations: 122.6 kB / 0.5525 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3078, allocations: 1.188 kB / 0.5525 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3078, allocations: 1.188 kB / 0.5525 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3078, allocations: 3.938 kB / 0.5525 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3083, allocations: 385.8 kB / 0.5529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3083, allocations: 0 / 0.5529 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3083, allocations: 16.48 kB / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3083, allocations: 1.156 kB / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3083, allocations: 9.125 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3083, allocations: 1.125 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3083, allocations: 0 / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3086, allocations: 196.3 kB / 0.5531 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.3086, allocations: 97.27 kB / 0.5532 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3086, allocations: 5.406 kB / 0.5532 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3087, allocations: 5.453 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.3087, allocations: 2.969 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3088, allocations: 4.219 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3089, allocations: 149.6 kB / 0.5533 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3089, allocations: 0 / 0.5533 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3092, allocations: 23.59 kB / 0.5534 GB, free: 7.648 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001695/0.3109, allocations: 482.2 kB / 0.5538 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.311, allocations: 48.23 kB / 0.5539 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.311, allocations: 0 / 0.5539 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.3111, allocations: 35.11 kB / 0.5539 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3115, allocations: 30.16 kB / 0.5539 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.312, allocations: 250.9 kB / 0.5542 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3123, allocations: 0.7088 MB / 0.5549 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.3124, allocations: 15.44 kB / 0.5549 GB, free: 6.426 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3124, allocations: 4.062 kB / 0.5549 GB, free: 6.422 MB / 398.1 MB Notification: Performance of Templates: time 0.004316/0.3167, allocations: 1.914 MB / 0.5567 GB, free: 5.43 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches