Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001159, allocations: 176.3 kB / 16.76 MB, free: 5.051 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.736/1.736, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008802/0.0008802, allocations: 94.34 kB / 271.3 MB, free: 8.242 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.4443/0.4443, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004291, allocations: 20 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4898, allocations: 87.73 MB / 0.5656 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.49, allocations: 75.97 kB / 0.5657 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01525/0.5053, allocations: 5.291 MB / 0.5709 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5053, allocations: 0 / 0.5709 GB, free: 8.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5054, allocations: 0 / 0.5709 GB, free: 8.797 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.0005621/0.5059, allocations: 422 kB / 0.5713 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.506, allocations: 8.781 kB / 0.5713 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.506, allocations: 12.84 kB / 0.5713 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.5064, allocations: 211.1 kB / 0.5715 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5064, allocations: 12.36 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.5064, allocations: 384 / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5066, allocations: 62.17 kB / 0.5716 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5066, allocations: 192 / 0.5716 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.5066, allocations: 7.938 kB / 0.5716 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5066, allocations: 1.594 kB / 0.5716 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.5067, allocations: 19.98 kB / 0.5716 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.5072, allocations: 296.9 kB / 0.5719 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5074, allocations: 66.55 kB / 0.5719 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.5075, allocations: 24.84 kB / 0.572 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.5075, allocations: 3.938 kB / 0.572 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.5077, allocations: 63.39 kB / 0.572 GB, free: 7.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5077, allocations: 4 kB / 0.572 GB, free: 7.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006793/0.5084, allocations: 173.2 kB / 0.5722 GB, free: 7.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5084, allocations: 55.39 kB / 0.5722 GB, free: 7.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.5087, allocations: 182.2 kB / 0.5724 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5087, allocations: 29.69 kB / 0.5724 GB, free: 6.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.5088, allocations: 96.14 kB / 0.5725 GB, free: 6.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5088, allocations: 27.64 kB / 0.5726 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5088, allocations: 0 / 0.5726 GB, free: 6.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.509, allocations: 334.8 kB / 0.5729 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.5091, allocations: 19.98 kB / 0.5729 GB, free: 6.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.5091, allocations: 44.17 kB / 0.5729 GB, free: 6.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5093, allocations: 61.77 kB / 0.573 GB, free: 6.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5093, allocations: 0 / 0.573 GB, free: 6.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.5095, allocations: 113.5 kB / 0.5731 GB, free: 6.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5095, allocations: 5.406 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5095, allocations: 0 / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5095, allocations: 4 kB / 0.5731 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.5096, allocations: 15.98 kB / 0.5731 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5096, allocations: 0 / 0.5731 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.5097, allocations: 4 kB / 0.5731 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5097, allocations: 0 / 0.5731 GB, free: 6.242 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.0001023/0.5098, allocations: 137.7 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.5098, allocations: 11.91 kB / 0.5733 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.5101, allocations: 118.3 kB / 0.5734 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5101, allocations: 0 / 0.5734 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5101, allocations: 288 / 0.5734 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5101, allocations: 0 / 0.5734 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.5106, allocations: 415.2 kB / 0.5738 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.5106, allocations: 7.938 kB / 0.5738 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.5106, allocations: 12.03 kB / 0.5738 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.5106, allocations: 0 / 0.5738 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5106, allocations: 4.375 kB / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5107, allocations: 0 / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5107, allocations: 7.938 kB / 0.5738 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5109, allocations: 216.1 kB / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.511, allocations: 93 kB / 0.5741 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.511, allocations: 8 kB / 0.5741 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.5111, allocations: 7.984 kB / 0.5741 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.5111, allocations: 7.938 kB / 0.5741 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5111, allocations: 7.984 kB / 0.5742 GB, free: 5.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5113, allocations: 140.8 kB / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5113, allocations: 0 / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.5115, allocations: 39.92 kB / 0.5743 GB, free: 4.918 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.00101/0.5126, allocations: 478.5 kB / 0.5748 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.5128, allocations: 67.84 kB / 0.5748 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5128, allocations: 0 / 0.5748 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.5129, allocations: 32.11 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.5132, allocations: 31.05 kB / 0.5749 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.5137, allocations: 256.8 kB / 0.5751 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.514, allocations: 0.7043 MB / 0.5758 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.514, allocations: 8.562 kB / 0.5758 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.5141, allocations: 23.42 kB / 0.5759 GB, free: 3.387 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5141, allocations: 0 / 0.5759 GB, free: 3.387 MB / 394.7 MB Notification: Performance of Templates: time 0.004046/0.5182, allocations: 1.688 MB / 0.5775 GB, free: 1.711 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches