Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 111.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 183 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003137/0.3671, allocations: 1.803 MB / 0.5214 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3687, allocations: 0.9574 MB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3688, allocations: 1.219 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.3695, allocations: 306.5 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.37, allocations: 213.9 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3705, allocations: 167.7 kB / 0.523 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.3709, allocations: 243.8 kB / 0.5232 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.371, allocations: 10.86 kB / 0.5232 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3712, allocations: 133 kB / 0.5233 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3715, allocations: 189.5 kB / 0.5235 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3715, allocations: 6.906 kB / 0.5235 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3716, allocations: 45.08 kB / 0.5236 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.3718, allocations: 134.5 kB / 0.5237 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.372, allocations: 146.4 kB / 0.5238 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.3724, allocations: 363.6 kB / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3725, allocations: 4 kB / 0.5242 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3725, allocations: 0 / 0.5242 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3725, allocations: 1.125 kB / 0.5242 GB, free: 1.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009086/0.3734, allocations: 0.7274 MB / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3734, allocations: 8.969 kB / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.3735, allocations: 46.75 kB / 0.525 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.3741, allocations: 456.2 kB / 0.5254 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3742, allocations: 2.672 kB / 0.5254 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3742, allocations: 11.03 kB / 0.5254 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3744, allocations: 91.27 kB / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3744, allocations: 0 / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3745, allocations: 2.312 kB / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3745, allocations: 0 / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3746, allocations: 30.02 kB / 0.5255 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3751, allocations: 385.5 kB / 0.5259 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3754, allocations: 107.2 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.3755, allocations: 42.84 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3755, allocations: 7.906 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.3757, allocations: 106.1 kB / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3758, allocations: 0 / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005441/0.3763, allocations: 201.7 kB / 0.5263 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3764, allocations: 78.48 kB / 0.5264 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3776, allocations: 1.036 MB / 0.5274 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3776, allocations: 30.73 kB / 0.5275 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3778, allocations: 230.2 kB / 0.5277 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.3778, allocations: 24.27 kB / 0.5277 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.3779, allocations: 31.48 kB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3781, allocations: 364 kB / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3781, allocations: 31.55 kB / 0.5281 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3783, allocations: 58.83 kB / 0.5282 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3784, allocations: 90.03 kB / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3785, allocations: 0 / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003074/0.3788, allocations: 179.5 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3788, allocations: 5.719 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3788, allocations: 1.375 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3788, allocations: 5.203 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.379, allocations: 16.94 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.379, allocations: 2.875 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.3791, allocations: 20.05 kB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3791, allocations: 4.031 kB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.3793, allocations: 229 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.3794, allocations: 57.97 kB / 0.5287 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.587e-05/0.3795, allocations: 57.56 kB / 0.5288 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3795, allocations: 2.219 kB / 0.5288 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3795, allocations: 1.156 kB / 0.5288 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3795, allocations: 0 / 0.5288 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.3799, allocations: 345 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3799, allocations: 0 / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.38, allocations: 6.562 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.38, allocations: 1.156 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.38, allocations: 10.14 kB / 0.5291 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.38, allocations: 5.125 kB / 0.5292 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.38, allocations: 3.984 kB / 0.5292 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.3804, allocations: 204.3 kB / 0.5294 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3805, allocations: 138.1 kB / 0.5295 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.3806, allocations: 2.812 kB / 0.5295 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.3807, allocations: 6.984 kB / 0.5295 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3807, allocations: 16.34 kB / 0.5295 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3807, allocations: 7.922 kB / 0.5295 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008785/0.3816, allocations: 0.7673 MB / 0.5303 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3816, allocations: 0 / 0.5303 GB, free: 12.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.3819, allocations: 40.53 kB / 0.5303 GB, free: 12.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.383, allocations: 417.7 kB / 0.5307 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3833, allocations: 78.09 kB / 0.5308 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3833, allocations: 1.062 kB / 0.5308 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3834, allocations: 42.86 kB / 0.5308 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3839, allocations: 75.03 kB / 0.5309 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3852, allocations: 0.8963 MB / 0.5318 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.3857, allocations: 0.8476 MB / 0.5326 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.3858, allocations: 30.48 kB / 0.5326 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3858, allocations: 0 / 0.5326 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Templates: time 0.009435/0.3952, allocations: 5.089 MB / 0.5376 GB, free: 8.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches