Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109.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.001249/0.001249, 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.329/1.329, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2081/0.2081, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3905, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003019/0.3936, allocations: 1.586 MB / 0.5211 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.3943, allocations: 403.3 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3944, allocations: 5.375 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.3951, allocations: 445.2 kB / 0.5219 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.3956, allocations: 249.1 kB / 0.5222 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.396, allocations: 134.3 kB / 0.5223 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.3963, allocations: 147.2 kB / 0.5224 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3964, allocations: 15.59 kB / 0.5225 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3966, allocations: 109.9 kB / 0.5226 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.3969, allocations: 205.3 kB / 0.5228 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3969, allocations: 2.219 kB / 0.5228 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.397, allocations: 23.38 kB / 0.5228 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3971, allocations: 77.59 kB / 0.5229 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.3972, allocations: 99.55 kB / 0.523 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.3975, allocations: 239.5 kB / 0.5232 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3975, allocations: 0 / 0.5232 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3975, allocations: 4.906 kB / 0.5232 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3975, allocations: 0 / 0.5232 GB, free: 1.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006467/0.3982, allocations: 0.6248 MB / 0.5238 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3982, allocations: 10.41 kB / 0.5238 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3983, allocations: 38.41 kB / 0.5238 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3985, allocations: 290.6 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3986, allocations: 1.438 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3986, allocations: 2.625 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3987, allocations: 56.38 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3987, allocations: 0 / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3987, allocations: 0 / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3988, allocations: 1.094 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.3988, allocations: 25.25 kB / 0.5242 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.3993, allocations: 369.2 kB / 0.5246 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.3994, allocations: 33.75 kB / 0.5246 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.3994, allocations: 12.97 kB / 0.5246 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3995, allocations: 1.562 kB / 0.5246 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3995, allocations: 43.45 kB / 0.5246 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3995, allocations: 1.406 kB / 0.5246 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.3998, allocations: 90.45 kB / 0.5247 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3998, allocations: 53.31 kB / 0.5248 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.4007, allocations: 0.8537 MB / 0.5256 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4007, allocations: 29.64 kB / 0.5256 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.4009, allocations: 222.3 kB / 0.5259 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.401, allocations: 9.219 kB / 0.5259 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.401, allocations: 17.17 kB / 0.5259 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4012, allocations: 364.7 kB / 0.5262 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.4012, allocations: 10.14 kB / 0.5262 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.4013, allocations: 11.56 kB / 0.5262 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.4014, allocations: 27.39 kB / 0.5263 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4014, allocations: 1.375 kB / 0.5263 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001571/0.4016, allocations: 93.67 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4016, allocations: 4.125 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4016, allocations: 1.375 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4016, allocations: 0.6562 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.4017, allocations: 9.375 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4017, allocations: 0 / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.4017, allocations: 3.875 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4017, allocations: 5.406 kB / 0.5264 GB, free: 15.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0002002/0.402, allocations: 211.4 kB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.402, allocations: 36.59 kB / 0.5266 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.4022, allocations: 112.6 kB / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4023, allocations: 0 / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4023, allocations: 0 / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4023, allocations: 1.406 kB / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.4026, allocations: 288.4 kB / 0.527 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4026, allocations: 5.25 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.4027, allocations: 3.906 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4027, allocations: 0 / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4027, allocations: 9.172 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4027, allocations: 0 / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4027, allocations: 1.188 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.4029, allocations: 187 kB / 0.5272 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.403, allocations: 110 kB / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.403, allocations: 0 / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.4031, allocations: 6.578 kB / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.4031, allocations: 1.219 kB / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.4031, allocations: 0 / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00072/0.4039, allocations: 0.6471 MB / 0.5279 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4039, allocations: 0 / 0.5279 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.4041, allocations: 18.22 kB / 0.528 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000821/0.405, allocations: 348.4 kB / 0.5283 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4051, allocations: 24.73 kB / 0.5283 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4051, allocations: 0 / 0.5283 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.4052, allocations: 20.17 kB / 0.5283 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4056, allocations: 25.02 kB / 0.5284 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4068, allocations: 0.7875 MB / 0.5291 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.4074, allocations: 0.814 MB / 0.5299 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.4074, allocations: 15.02 kB / 0.5299 GB, free: 12.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4074, allocations: 0 / 0.5299 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Templates: time 0.00707/0.4145, allocations: 3.416 MB / 0.5333 GB, free: 11.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches