Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 175.5 kB / 16.77 MB, free: 4.926 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.767/1.767, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008618/0.0008624, allocations: 89.48 kB / 271.3 MB, free: 8.223 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.3799/0.3799, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005947, allocations: 16 kB / 432.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.161, allocations: 58.85 MB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3338/0.4948, allocations: 87.54 MB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4951, allocations: 81.17 kB / 0.5655 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.5086, allocations: 5.173 MB / 0.5706 GB, free: 9.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5086, allocations: 0 / 0.5706 GB, free: 9.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.5086, allocations: 4 kB / 0.5706 GB, free: 9.191 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000473/0.5091, allocations: 410.7 kB / 0.571 GB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5092, allocations: 8.031 kB / 0.571 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.5092, allocations: 16.83 kB / 0.571 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.5095, allocations: 223.1 kB / 0.5712 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5095, allocations: 384 / 0.5712 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.5095, allocations: 4.375 kB / 0.5712 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5097, allocations: 50.23 kB / 0.5713 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.5097, allocations: 192 / 0.5713 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5097, allocations: 7.938 kB / 0.5713 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5097, allocations: 0 / 0.5713 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.5098, allocations: 15.98 kB / 0.5713 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.51, allocations: 185.6 kB / 0.5715 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5102, allocations: 58.55 kB / 0.5715 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.5102, allocations: 18.05 kB / 0.5715 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5102, allocations: 3.984 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.5104, allocations: 67.39 kB / 0.5716 GB, free: 7.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.5104, allocations: 0 / 0.5716 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002956/0.5107, allocations: 101.5 kB / 0.5717 GB, free: 7.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.5108, allocations: 51.41 kB / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.511, allocations: 186.2 kB / 0.5719 GB, free: 7.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.511, allocations: 25.7 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.511, allocations: 104.1 kB / 0.5721 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.5111, allocations: 7.812 kB / 0.5721 GB, free: 7.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.5111, allocations: 4 kB / 0.5721 GB, free: 7.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5112, allocations: 330.8 kB / 0.5724 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.5113, allocations: 15.98 kB / 0.5724 GB, free: 7.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.5113, allocations: 29.7 kB / 0.5724 GB, free: 7.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.5115, allocations: 49.58 kB / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5115, allocations: 0 / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.5116, allocations: 85.59 kB / 0.5726 GB, free: 6.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5117, allocations: 8.719 kB / 0.5726 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5117, allocations: 0 / 0.5726 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5117, allocations: 4 kB / 0.5726 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.5118, allocations: 16.67 kB / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5118, allocations: 0 / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.5118, allocations: 4 kB / 0.5726 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.5119, allocations: 0 / 0.5726 GB, free: 6.922 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 (7): * Single equations (assignments): 7 * 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.0001015/0.512, allocations: 129.8 kB / 0.5727 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.512, allocations: 23.77 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5122, allocations: 89.98 kB / 0.5728 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5122, allocations: 4 kB / 0.5728 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5122, allocations: 3.938 kB / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5122, allocations: 0 / 0.5728 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.5124, allocations: 189.6 kB / 0.573 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5124, allocations: 0 / 0.573 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.5125, allocations: 7.984 kB / 0.573 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.5125, allocations: 3.938 kB / 0.573 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.5125, allocations: 4 kB / 0.573 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5125, allocations: 4 kB / 0.573 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5125, allocations: 0 / 0.573 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.5127, allocations: 109.9 kB / 0.5731 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.5128, allocations: 93 kB / 0.5732 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.5128, allocations: 7.938 kB / 0.5732 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.5128, allocations: 0 / 0.5732 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.5129, allocations: 8 kB / 0.5732 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5129, allocations: 8.422 kB / 0.5732 GB, free: 6.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.513, allocations: 136.8 kB / 0.5734 GB, free: 6.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.804e-06/0.513, allocations: 0 / 0.5734 GB, free: 6.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.5132, allocations: 27.92 kB / 0.5734 GB, free: 5.992 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008827/0.5141, allocations: 424.4 kB / 0.5738 GB, free: 5.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.5143, allocations: 43.98 kB / 0.5738 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5143, allocations: 0 / 0.5738 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.5144, allocations: 27.98 kB / 0.5739 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5147, allocations: 23.98 kB / 0.5739 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.5152, allocations: 215.4 kB / 0.5741 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.5154, allocations: 0.7082 MB / 0.5748 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.5155, allocations: 16.41 kB / 0.5748 GB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.5156, allocations: 15.44 kB / 0.5748 GB, free: 4.578 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5156, allocations: 0 / 0.5748 GB, free: 4.578 MB / 394.7 MB Notification: Performance of Templates: time 0.003814/0.5194, allocations: 1.485 MB / 0.5763 GB, free: 3.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches