Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 99.45 kB / 261.8 MB, free: 1.609 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.2477/0.2477, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.152e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5898, allocations: 86.92 MB / 0.5508 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5901, allocations: 74.09 kB / 0.5509 GB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01249/0.6026, allocations: 5.239 MB / 0.556 GB, free: 3.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6027, allocations: 0 / 0.556 GB, free: 3.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.6027, allocations: 7.938 kB / 0.556 GB, free: 3.883 MB / 362.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.0003772/0.6031, allocations: 385.1 kB / 0.5564 GB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6031, allocations: 16.02 kB / 0.5564 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.6032, allocations: 7.906 kB / 0.5564 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.6034, allocations: 217.2 kB / 0.5566 GB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6035, allocations: 3.984 kB / 0.5566 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.6035, allocations: 7.938 kB / 0.5566 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.225e-05/0.6036, allocations: 14.88 kB / 0.5566 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.074e-05/0.6036, allocations: 52.67 kB / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6037, allocations: 0 / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6037, allocations: 0 / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6037, allocations: 4 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.604, allocations: 279.7 kB / 0.557 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.961e-05/0.6041, allocations: 48 kB / 0.557 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6042, allocations: 16.67 kB / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.6042, allocations: 0 / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.6043, allocations: 65.89 kB / 0.5571 GB, free: 2.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6043, allocations: 4 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003971/0.6047, allocations: 151.3 kB / 0.5572 GB, free: 2.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.6047, allocations: 55.34 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.6049, allocations: 175.8 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.6049, allocations: 29.02 kB / 0.5575 GB, free: 2.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6049, allocations: 96.02 kB / 0.5576 GB, free: 2.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.605, allocations: 22.33 kB / 0.5576 GB, free: 2.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.605, allocations: 0 / 0.5576 GB, free: 2.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.6051, allocations: 329 kB / 0.5579 GB, free: 1.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.6051, allocations: 14.62 kB / 0.5579 GB, free: 1.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.6051, allocations: 36.27 kB / 0.558 GB, free: 1.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.6052, allocations: 22.56 kB / 0.558 GB, free: 1.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6052, allocations: 0 / 0.558 GB, free: 1.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001133/0.6053, allocations: 98.78 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6053, allocations: 4 kB / 0.5581 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6053, allocations: 0 / 0.5581 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6054, allocations: 4.031 kB / 0.5581 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.6055, allocations: 23.38 kB / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6055, allocations: 0 / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.6055, allocations: 7.984 kB / 0.5581 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.6055, allocations: 3.953 kB / 0.5581 GB, free: 1.707 MB / 362.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 5.676e-05/0.6056, allocations: 106.5 kB / 0.5582 GB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.6056, allocations: 7.906 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.6058, allocations: 118.1 kB / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6058, allocations: 8 kB / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6058, allocations: 0 / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6058, allocations: 0 / 0.5583 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.6062, allocations: 378.6 kB / 0.5587 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6062, allocations: 4 kB / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.6062, allocations: 8 kB / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6062, allocations: 0 / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6062, allocations: 3.875 kB / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6062, allocations: 8.031 kB / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6063, allocations: 0 / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.6064, allocations: 210.4 kB / 0.5589 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.6065, allocations: 92.91 kB / 0.559 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.6065, allocations: 7.562 kB / 0.559 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.6066, allocations: 0 / 0.559 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.6066, allocations: 19.88 kB / 0.559 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.6066, allocations: 4 kB / 0.559 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.6067, allocations: 138.8 kB / 0.5592 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6067, allocations: 0 / 0.5592 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.607, allocations: 24 kB / 0.5592 GB, free: 0.5898 MB / 362.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.000948/0.6079, allocations: 399.5 kB / 0.5596 GB, free: 264 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.6081, allocations: 53.36 kB / 0.5596 GB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6081, allocations: 0 / 0.5596 GB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.6082, allocations: 22.69 kB / 0.5597 GB, free: 208 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.6084, allocations: 34.83 kB / 0.5597 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.6088, allocations: 161.3 kB / 0.5598 GB, free: 0 / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.6092, allocations: 0.7095 MB / 0.5605 GB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.6093, allocations: 20.55 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.6093, allocations: 16.88 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6093, allocations: 0 / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004212/0.6136, allocations: 1.633 MB / 0.5622 GB, free: 13.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches