Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001802/0.001802, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002265/0.002265, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.89 kB / 0.4936 GB, free: 9.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 65.46 MB / 0.5575 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003466/0.3289, allocations: 1.71 MB / 0.5592 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3307, allocations: 0.9637 MB / 0.5601 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.3308, allocations: 0 / 0.5601 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3311, allocations: 55.69 kB / 0.5602 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.3314, allocations: 99.53 kB / 0.5603 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.3316, allocations: 71.75 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3318, allocations: 103.7 kB / 0.5604 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3319, allocations: 11.98 kB / 0.5605 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.332, allocations: 43.78 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.3321, allocations: 27.8 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3321, allocations: 4 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3322, allocations: 43.97 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3323, allocations: 27.86 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.3323, allocations: 27.8 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3326, allocations: 125.9 kB / 0.5607 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3326, allocations: 0 / 0.5607 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3326, allocations: 0 / 0.5607 GB, free: 4.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3326, allocations: 0 / 0.5607 GB, free: 4.105 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.0006797/0.3333, allocations: 355.2 kB / 0.5611 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3333, allocations: 12.03 kB / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3334, allocations: 8.891 kB / 0.5611 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3337, allocations: 151 kB / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3337, allocations: 4.375 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.3337, allocations: 12.12 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3339, allocations: 53.67 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3339, allocations: 0 / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3339, allocations: 0 / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3339, allocations: 4 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.334, allocations: 19.98 kB / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3345, allocations: 236.5 kB / 0.5616 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3347, allocations: 54.67 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.3347, allocations: 24.84 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3348, allocations: 4 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.335, allocations: 67.38 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.335, allocations: 0 / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006579/0.3356, allocations: 185.3 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3357, allocations: 55.34 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3359, allocations: 206.3 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3359, allocations: 33.64 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.336, allocations: 100.1 kB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.336, allocations: 31.78 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.3361, allocations: 25.72 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3363, allocations: 326.8 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.3364, allocations: 27.92 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.3364, allocations: 33.7 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3366, allocations: 57.78 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3366, allocations: 0 / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002181/0.3368, allocations: 117.5 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3368, allocations: 6.812 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3368, allocations: 8.031 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3368, allocations: 0 / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3369, allocations: 19.92 kB / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3369, allocations: 0 / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.337, allocations: 8 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.337, allocations: 4 kB / 0.5629 GB, free: 1.719 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.0001412/0.3371, allocations: 128.4 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3372, allocations: 11.91 kB / 0.563 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3375, allocations: 131 kB / 0.5632 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3375, allocations: 4 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3375, allocations: 0 / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3375, allocations: 0 / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.338, allocations: 350.9 kB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.338, allocations: 384 / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.338, allocations: 8 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.338, allocations: 4 kB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.338, allocations: 4 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3381, allocations: 288 / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3381, allocations: 3.938 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3383, allocations: 224.2 kB / 0.5637 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3384, allocations: 11.95 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3384, allocations: 0 / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3385, allocations: 4 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.3385, allocations: 19.86 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3385, allocations: 4 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3387, allocations: 152.2 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3387, allocations: 0 / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3389, allocations: 31.92 kB / 0.5639 GB, free: 0.5664 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 (9): * Single equations (assignments): 7 * 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.001892/0.3408, allocations: 482.2 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.341, allocations: 63.91 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.341, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.3411, allocations: 28.11 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3415, allocations: 42.97 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.342, allocations: 242.6 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3421, allocations: 96.12 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.3422, allocations: 12.97 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.3422, allocations: 19.44 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3422, allocations: 0 / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Templates: time 0.005693/0.3479, allocations: 1.914 MB / 0.5668 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.305837674066424]