Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001293, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.001282/0.001282, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.32/1.32, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3896, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003012/0.3926, allocations: 1.616 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.3935, allocations: 456.5 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.3935, allocations: 1.031 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.3943, allocations: 446.3 kB / 0.522 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.3949, allocations: 253 kB / 0.5223 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.3954, allocations: 182.4 kB / 0.5224 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3957, allocations: 159.1 kB / 0.5226 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3958, allocations: 23.44 kB / 0.5226 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.396, allocations: 104.2 kB / 0.5227 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3964, allocations: 214.2 kB / 0.5229 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3964, allocations: 4.031 kB / 0.5229 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3965, allocations: 34.48 kB / 0.523 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3966, allocations: 82 kB / 0.523 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.3967, allocations: 103.4 kB / 0.5231 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3971, allocations: 255.6 kB / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3971, allocations: 0 / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3971, allocations: 0 / 0.5234 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3971, allocations: 0 / 0.5234 GB, free: 1.754 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006273/0.3977, allocations: 0.6313 MB / 0.524 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3978, allocations: 9.531 kB / 0.524 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.3979, allocations: 42.78 kB / 0.524 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3981, allocations: 298.5 kB / 0.5243 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3981, allocations: 5.688 kB / 0.5243 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3982, allocations: 3.219 kB / 0.5243 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3983, allocations: 58.08 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3983, allocations: 0.75 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3984, allocations: 0 / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3984, allocations: 4.875 kB / 0.5244 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3985, allocations: 35.02 kB / 0.5244 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.399, allocations: 395.2 kB / 0.5248 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3993, allocations: 44.92 kB / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.3993, allocations: 19.66 kB / 0.5249 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3994, allocations: 0.6562 kB / 0.5249 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3994, allocations: 32.28 kB / 0.5249 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3994, allocations: 3.938 kB / 0.5249 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006345/0.4, allocations: 233.9 kB / 0.5251 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4001, allocations: 52.11 kB / 0.5252 GB, free: 240 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/0.401, allocations: 0.8604 MB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.401, allocations: 25.7 kB / 0.526 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.4012, allocations: 230.1 kB / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.4012, allocations: 17.03 kB / 0.5263 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.4013, allocations: 21.84 kB / 0.5263 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4014, allocations: 360.7 kB / 0.5266 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.4015, allocations: 24.36 kB / 0.5267 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.4016, allocations: 20.36 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4017, allocations: 50.95 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4018, allocations: 0 / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.402, allocations: 126.6 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.402, allocations: 5.5 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.402, allocations: 0 / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.402, allocations: 0 / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.4021, allocations: 14.64 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4021, allocations: 0 / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.4022, allocations: 11.44 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4022, allocations: 1.594 kB / 0.5269 GB, free: 15.17 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 (5): * Single equations (assignments): 5 * 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.0002029/0.4024, allocations: 217.7 kB / 0.5271 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.4025, allocations: 39.41 kB / 0.5271 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.4028, allocations: 150.1 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4028, allocations: 3.984 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4028, allocations: 1.062 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4028, allocations: 3.938 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.4034, allocations: 458.1 kB / 0.5277 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4035, allocations: 9.484 kB / 0.5277 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.4035, allocations: 13.22 kB / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4035, allocations: 0 / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4035, allocations: 9.406 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4035, allocations: 0 / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4036, allocations: 0 / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4038, allocations: 218.2 kB / 0.528 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.4039, allocations: 109.4 kB / 0.5281 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4039, allocations: 9.266 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.404, allocations: 2.625 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4041, allocations: 6.594 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4041, allocations: 1.219 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006507/0.4047, allocations: 0.651 MB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4047, allocations: 0 / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.405, allocations: 26.62 kB / 0.5287 GB, free: 13.83 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 (5): * Single equations (assignments): 5 * 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.0009389/0.406, allocations: 403.2 kB / 0.5291 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4062, allocations: 47.97 kB / 0.5292 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4062, allocations: 0 / 0.5292 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.4063, allocations: 32.66 kB / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4068, allocations: 21.41 kB / 0.5292 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.408, allocations: 0.83 MB / 0.53 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.4085, allocations: 0.8233 MB / 0.5308 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4085, allocations: 16.61 kB / 0.5309 GB, free: 12.36 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4085, allocations: 0 / 0.5309 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007681/0.4162, allocations: 3.738 MB / 0.5345 GB, free: 10.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches