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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001312, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008341/0.0008338, allocations: 91.8 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1881/0.1881, allocations: 44.16 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.795e-05, allocations: 4.219 kB / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.4983, allocations: 89.22 MB / 0.5888 GB, free: 144 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.4986, allocations: 75.95 kB / 0.5889 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.5127, allocations: 5.564 MB / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5127, allocations: 0 / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.5128, allocations: 4 kB / 0.5944 GB, free: 10.51 MB / 410.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.0004021/0.5132, allocations: 394.3 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5132, allocations: 8.031 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.5133, allocations: 7.906 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.5135, allocations: 214.8 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5136, allocations: 7.953 kB / 0.595 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.5136, allocations: 4 kB / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5137, allocations: 53.67 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5138, allocations: 3.938 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5138, allocations: 0 / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5138, allocations: 4 kB / 0.595 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.5139, allocations: 23.92 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.5142, allocations: 288.9 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5143, allocations: 58.62 kB / 0.5954 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.5144, allocations: 16.98 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.5144, allocations: 4 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.5146, allocations: 63.39 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.5146, allocations: 0 / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004482/0.515, allocations: 169.2 kB / 0.5956 GB, free: 9.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5151, allocations: 51.41 kB / 0.5957 GB, free: 8.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5152, allocations: 165.4 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5153, allocations: 29.7 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.5153, allocations: 104.1 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5154, allocations: 19.72 kB / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.5154, allocations: 0 / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5155, allocations: 326.8 kB / 0.5963 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.5155, allocations: 27.98 kB / 0.5963 GB, free: 8.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.5156, allocations: 29.72 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.5157, allocations: 27.92 kB / 0.5964 GB, free: 8.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5157, allocations: 0 / 0.5964 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001419/0.5158, allocations: 97.56 kB / 0.5965 GB, free: 8.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5158, allocations: 4 kB / 0.5965 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5158, allocations: 4 kB / 0.5965 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5159, allocations: 4 kB / 0.5965 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.516, allocations: 24.14 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.516, allocations: 0 / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.516, allocations: 11.88 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.516, allocations: 8 kB / 0.5965 GB, free: 8.082 MB / 410.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/0.5161, allocations: 104.9 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.5161, allocations: 11.91 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.5164, allocations: 118.2 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5164, allocations: 0 / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5164, allocations: 4 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5164, allocations: 3.984 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.5168, allocations: 407.2 kB / 0.5971 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5168, allocations: 0 / 0.5971 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.5169, allocations: 11.98 kB / 0.5971 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5169, allocations: 7.938 kB / 0.5971 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5169, allocations: 3.984 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5169, allocations: 0 / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5169, allocations: 3.938 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5171, allocations: 218 kB / 0.5974 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.5172, allocations: 97 kB / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5172, allocations: 0 / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.5173, allocations: 7.938 kB / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.5173, allocations: 15.94 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5173, allocations: 8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.5174, allocations: 144.9 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5174, allocations: 0 / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.5177, allocations: 28 kB / 0.5976 GB, free: 6.801 MB / 410.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009465/0.5186, allocations: 434.8 kB / 0.5981 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.5188, allocations: 59.92 kB / 0.5981 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5188, allocations: 0 / 0.5981 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.5189, allocations: 31.94 kB / 0.5982 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.5191, allocations: 31.81 kB / 0.5982 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.5195, allocations: 163 kB / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5198, allocations: 0.7082 MB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.5198, allocations: 20.41 kB / 0.599 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.5199, allocations: 15.44 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5199, allocations: 0 / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of Templates: time 0.003968/0.5239, allocations: 1.69 MB / 0.6007 GB, free: 3.727 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches