Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001613/0.001613, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001388/0.001388, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.626/1.626, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2733/0.2733, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5384, allocations: 60.81 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004614/0.543, allocations: 1.569 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.5441, allocations: 404.4 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.5442, allocations: 1.375 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.5445, allocations: 16.41 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.5447, allocations: 37.89 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.545, allocations: 88.75 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.5452, allocations: 54.12 kB / 0.5205 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.5453, allocations: 12.56 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.5454, allocations: 18.41 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.5454, allocations: 19.84 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.5455, allocations: 2.281 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.5456, allocations: 38.62 kB / 0.5206 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.5456, allocations: 12.44 kB / 0.5206 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.5457, allocations: 17.86 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.5459, allocations: 76.28 kB / 0.5207 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5459, allocations: 0 / 0.5207 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5459, allocations: 1.375 kB / 0.5207 GB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.5459, allocations: 0 / 0.5207 GB, free: 1.73 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.0004997/0.5464, allocations: 376.6 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5465, allocations: 10.22 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.5465, allocations: 31.45 kB / 0.5211 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.5465, allocations: 13.02 kB / 0.5211 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.5467, allocations: 189.3 kB / 0.5213 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5468, allocations: 9.656 kB / 0.5213 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.5468, allocations: 2.375 kB / 0.5213 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.547, allocations: 52.8 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5471, allocations: 1.156 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5471, allocations: 0 / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5471, allocations: 1.812 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.5473, allocations: 21.81 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.5477, allocations: 280.1 kB / 0.5217 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5479, allocations: 39.98 kB / 0.5217 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.548, allocations: 17.44 kB / 0.5217 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.548, allocations: 1.641 kB / 0.5217 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.548, allocations: 31.94 kB / 0.5218 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5481, allocations: 0 / 0.5218 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006072/0.5487, allocations: 138.9 kB / 0.5219 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.5487, allocations: 53.5 kB / 0.522 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5489, allocations: 139.9 kB / 0.5221 GB, free: 428 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5489, allocations: 30.86 kB / 0.5221 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.549, allocations: 92.38 kB / 0.5222 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.549, allocations: 19.66 kB / 0.5222 GB, free: 284 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.549, allocations: 22.19 kB / 0.5222 GB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5492, allocations: 319.8 kB / 0.5225 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.5493, allocations: 18.14 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.5493, allocations: 22.77 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5495, allocations: 46.89 kB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5495, allocations: 0.7031 kB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.5497, allocations: 88.61 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5497, allocations: 8.531 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5497, allocations: 3.938 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.5498, allocations: 1.594 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.5499, allocations: 11.78 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5499, allocations: 1.062 kB / 0.5227 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.5499, allocations: 9.266 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.55, allocations: 5.188 kB / 0.5228 GB, free: 15.84 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.0001216/0.5501, allocations: 119.5 kB / 0.5229 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.5501, allocations: 7.484 kB / 0.5229 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.5504, allocations: 88.59 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5504, allocations: 1.734 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5504, allocations: 0 / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5504, allocations: 1.734 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.5509, allocations: 348.6 kB / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.551, allocations: 0 / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.551, allocations: 12.78 kB / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.551, allocations: 1.094 kB / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5511, allocations: 0 / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5511, allocations: 9.734 kB / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5511, allocations: 0 / 0.5233 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.5514, allocations: 185.4 kB / 0.5235 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.5514, allocations: 83.25 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.5515, allocations: 5.406 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.5515, allocations: 8.969 kB / 0.5236 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.5516, allocations: 4.203 kB / 0.5236 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.5516, allocations: 1.062 kB / 0.5236 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.5517, allocations: 113.2 kB / 0.5237 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5517, allocations: 0 / 0.5237 GB, free: 14.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.552, allocations: 14.12 kB / 0.5237 GB, free: 14.97 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.002212/0.5542, allocations: 0.9972 MB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.5545, allocations: 53.45 kB / 0.5247 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5545, allocations: 0 / 0.5247 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.5546, allocations: 23.22 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.0004505/0.5551, allocations: 20.2 kB / 0.5248 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.5574, allocations: 1.419 MB / 0.5262 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.5579, allocations: 0.7 MB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.5579, allocations: 6.844 kB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.558, allocations: 21.75 kB / 0.5269 GB, free: 12.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.558, allocations: 0 / 0.5269 GB, free: 12.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.5896, allocations: 2.453 MB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.376/9.966, allocations: 9.531 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches