Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00118/0.00118, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2267/0.2267, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3934, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003014/0.3964, allocations: 1.569 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.3971, allocations: 392.8 kB / 0.5203 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3972, allocations: 0 / 0.5203 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3974, allocations: 29.94 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.3976, allocations: 40.67 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3979, allocations: 83.83 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.398, allocations: 55.23 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3981, allocations: 20.78 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.3982, allocations: 25.45 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.3983, allocations: 15.34 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3983, allocations: 2.938 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-05/0.3984, allocations: 30.12 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.3984, allocations: 14.34 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.3984, allocations: 25.09 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3986, allocations: 80.28 kB / 0.5207 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3986, allocations: 4 kB / 0.5207 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3986, allocations: 1.125 kB / 0.5207 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3987, allocations: 0 / 0.5207 GB, free: 1.738 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.0004144/0.3991, allocations: 374.4 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3991, allocations: 10.66 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.3992, allocations: 31.5 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3992, allocations: 8.688 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3994, allocations: 189.6 kB / 0.5213 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3994, allocations: 1.625 kB / 0.5213 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3994, allocations: 13.88 kB / 0.5213 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3995, allocations: 48.95 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3996, allocations: 1.156 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3996, allocations: 0 / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3996, allocations: 1.031 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3997, allocations: 22.89 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.4, allocations: 277.1 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.4002, allocations: 47.3 kB / 0.5217 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.4003, allocations: 18.72 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4003, allocations: 0.5156 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4003, allocations: 36.28 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4004, allocations: 1.188 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005356/0.4009, allocations: 135.3 kB / 0.5219 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.4009, allocations: 52.5 kB / 0.522 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4011, allocations: 156.7 kB / 0.5221 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4011, allocations: 25.7 kB / 0.5221 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4011, allocations: 97.55 kB / 0.5222 GB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.4011, allocations: 15.88 kB / 0.5222 GB, free: 300 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4012, allocations: 14.66 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.4013, allocations: 328.2 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.4013, allocations: 18.08 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.4014, allocations: 19.34 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.4016, allocations: 50.72 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4016, allocations: 0 / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.4018, allocations: 89.7 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4018, allocations: 4.469 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4018, allocations: 5.797 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4018, allocations: 0 / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.4019, allocations: 12.62 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4019, allocations: 0.7969 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.4019, allocations: 9.125 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.402, allocations: 1.125 kB / 0.5228 GB, free: 15.86 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 8.326e-05/0.402, allocations: 121.1 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4021, allocations: 11.75 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4023, allocations: 89.31 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4023, allocations: 1.031 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4023, allocations: 0 / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4024, allocations: 5.594 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.4028, allocations: 338.2 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4028, allocations: 5.125 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.4029, allocations: 12.02 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4029, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4029, allocations: 9.781 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4029, allocations: 192 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4029, allocations: 5.062 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.4031, allocations: 176.7 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.4032, allocations: 87.98 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4032, allocations: 5.891 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.4033, allocations: 3.672 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.4034, allocations: 9.109 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4034, allocations: 1.219 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.999e-05/0.4035, allocations: 122.7 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4035, allocations: 0 / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.4037, allocations: 10.56 kB / 0.5237 GB, free: 14.99 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.00146/0.4052, allocations: 1.007 MB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4054, allocations: 52.33 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4054, allocations: 0 / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.4055, allocations: 28.41 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.4059, allocations: 13.73 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.4077, allocations: 1.45 MB / 0.5262 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.408, allocations: 0.6911 MB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.4081, allocations: 10.44 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.4082, allocations: 25.78 kB / 0.5269 GB, free: 12.19 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4082, allocations: 1.344 kB / 0.5269 GB, free: 12.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.428, allocations: 2.537 MB / 0.5294 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.997, allocations: 6.391 kB / 0.5294 GB, free: 11.28 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches