Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 172.2 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008558/0.0008561, allocations: 101.2 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3806/0.3806, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004079, allocations: 15.98 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4964, allocations: 87.76 MB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4967, allocations: 77.84 kB / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5119, allocations: 5.454 MB / 0.5711 GB, free: 8.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.512, allocations: 0 / 0.5711 GB, free: 8.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.512, allocations: 4 kB / 0.5711 GB, free: 8.746 MB / 394.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.0007484/0.5128, allocations: 418.8 kB / 0.5715 GB, free: 8.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5128, allocations: 8.031 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.5129, allocations: 16.75 kB / 0.5715 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.5133, allocations: 224.7 kB / 0.5717 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5133, allocations: 4.375 kB / 0.5717 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5134, allocations: 4.375 kB / 0.5717 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.5135, allocations: 56.05 kB / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5136, allocations: 192 / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5136, allocations: 7.938 kB / 0.5718 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5136, allocations: 0 / 0.5718 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.5137, allocations: 19.98 kB / 0.5718 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.5142, allocations: 296.9 kB / 0.5721 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5144, allocations: 62.61 kB / 0.5721 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.5144, allocations: 24.78 kB / 0.5722 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5145, allocations: 0 / 0.5722 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.5146, allocations: 75.23 kB / 0.5722 GB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.5146, allocations: 4.75 kB / 0.5722 GB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006035/0.5152, allocations: 182 kB / 0.5724 GB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.5153, allocations: 59.34 kB / 0.5725 GB, free: 7.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.5155, allocations: 193.7 kB / 0.5726 GB, free: 6.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5156, allocations: 29.7 kB / 0.5727 GB, free: 6.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.5157, allocations: 104.1 kB / 0.5728 GB, free: 6.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.5157, allocations: 23.66 kB / 0.5728 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5157, allocations: 0 / 0.5728 GB, free: 6.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5159, allocations: 338.7 kB / 0.5731 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.516, allocations: 20 kB / 0.5731 GB, free: 6.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.516, allocations: 33.7 kB / 0.5732 GB, free: 6.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5162, allocations: 65.64 kB / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5162, allocations: 0 / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000221/0.5164, allocations: 101.6 kB / 0.5733 GB, free: 6.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5165, allocations: 10.81 kB / 0.5733 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5165, allocations: 0 / 0.5733 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5165, allocations: 384 / 0.5733 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5166, allocations: 23.92 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5166, allocations: 4 kB / 0.5734 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.5167, allocations: 4 kB / 0.5734 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5167, allocations: 4 kB / 0.5734 GB, free: 6.148 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.5168, allocations: 133.8 kB / 0.5735 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5169, allocations: 15.81 kB / 0.5735 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.5171, allocations: 119 kB / 0.5736 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5171, allocations: 0 / 0.5736 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5172, allocations: 0 / 0.5736 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5172, allocations: 4 kB / 0.5736 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.5176, allocations: 411.2 kB / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5177, allocations: 0 / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.5177, allocations: 16.03 kB / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5177, allocations: 0 / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.5177, allocations: 0 / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.5178, allocations: 0 / 0.574 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5178, allocations: 11.88 kB / 0.5741 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.518, allocations: 216.4 kB / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.5181, allocations: 89.11 kB / 0.5743 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.5181, allocations: 15.92 kB / 0.5744 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.5182, allocations: 4 kB / 0.5744 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5183, allocations: 11.88 kB / 0.5744 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5183, allocations: 7.984 kB / 0.5744 GB, free: 5.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.5184, allocations: 152.9 kB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5184, allocations: 0 / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.5187, allocations: 31.94 kB / 0.5746 GB, free: 4.824 MB / 394.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) * 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 (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.001082/0.5198, allocations: 475.4 kB / 0.575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.52, allocations: 63.91 kB / 0.5751 GB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.52, allocations: 0 / 0.5751 GB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.5201, allocations: 32.05 kB / 0.5751 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5205, allocations: 27.98 kB / 0.5751 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.521, allocations: 260.3 kB / 0.5754 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5213, allocations: 0.7082 MB / 0.5761 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.5214, allocations: 16.56 kB / 0.5761 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.5214, allocations: 19.42 kB / 0.5761 GB, free: 3.289 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5214, allocations: 0 / 0.5761 GB, free: 3.289 MB / 394.7 MB Notification: Performance of Templates: time 0.004664/0.5261, allocations: 1.714 MB / 0.5778 GB, free: 1.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches