Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 178.6 kB / 18.09 MB, free: 3.734 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.326/1.326, allocations: 223.3 MB / 242.1 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 95.16 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3459/0.3459, allocations: 44.15 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003916, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 61.89 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4868, allocations: 89.3 MB / 0.598 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.4871, allocations: 83.94 kB / 0.598 GB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.503, allocations: 5.896 MB / 0.6038 GB, free: 15.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.503, allocations: 0 / 0.6038 GB, free: 15.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.5031, allocations: 7.938 kB / 0.6038 GB, free: 15.77 MB / 426.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.0006404/0.5037, allocations: 442.9 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5038, allocations: 12.03 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.5038, allocations: 12.75 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.5042, allocations: 231.9 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5042, allocations: 384 / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5042, allocations: 4.375 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5044, allocations: 54.23 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5044, allocations: 8.109 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5044, allocations: 7.938 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5044, allocations: 0 / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.5045, allocations: 23.98 kB / 0.6046 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.505, allocations: 312.8 kB / 0.6049 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.5052, allocations: 66.55 kB / 0.6049 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.5052, allocations: 20.86 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5052, allocations: 3.938 kB / 0.6049 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.5054, allocations: 71.38 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.5054, allocations: 0 / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006119/0.506, allocations: 177.1 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5061, allocations: 55.41 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.5064, allocations: 260.7 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.5065, allocations: 33.7 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.5065, allocations: 104.1 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.5066, allocations: 23.66 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.5066, allocations: 8 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5068, allocations: 327 kB / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.5068, allocations: 23.98 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.5069, allocations: 33.7 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.507, allocations: 69.64 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.507, allocations: 0 / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.5072, allocations: 109.4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5073, allocations: 4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5073, allocations: 0 / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5073, allocations: 0 / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.5074, allocations: 20 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5074, allocations: 8.016 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.5075, allocations: 4 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5075, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.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.000129/0.5076, allocations: 142.3 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.5076, allocations: 19.75 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.5079, allocations: 123.4 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5079, allocations: 0 / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5079, allocations: 0 / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5079, allocations: 7.984 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.5084, allocations: 439.1 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5085, allocations: 4.281 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.5085, allocations: 19.92 kB / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5085, allocations: 0 / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5085, allocations: 7.938 kB / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5085, allocations: 0 / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5085, allocations: 3.938 kB / 0.6069 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.5088, allocations: 216.4 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.5089, allocations: 101 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.5089, allocations: 0 / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.509, allocations: 7.984 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.509, allocations: 11.94 kB / 0.6073 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5091, allocations: 4 kB / 0.6073 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.5093, allocations: 204.2 kB / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5093, allocations: 0 / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.5096, allocations: 39.92 kB / 0.6075 GB, free: 11.62 MB / 426.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.001079/0.5106, allocations: 476.6 kB / 0.608 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.5108, allocations: 63.91 kB / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5109, allocations: 0 / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.5109, allocations: 31.94 kB / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5113, allocations: 23.97 kB / 0.6081 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.5119, allocations: 322.9 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5122, allocations: 0.7278 MB / 0.6091 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.388e-05/0.5123, allocations: 12.56 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.5123, allocations: 23.42 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5124, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Templates: time 0.004575/0.5169, allocations: 1.85 MB / 0.6109 GB, free: 8.262 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches