Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001444/0.001444, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001255/0.001255, allocations: 184.2 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.476/1.476, 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.2245/0.2245, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 75.81 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003105/0.3794, allocations: 1.577 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.3801, allocations: 425.6 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.3802, allocations: 6.469 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007638/0.3809, allocations: 448.7 kB / 0.5208 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.3815, allocations: 257.2 kB / 0.5211 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3819, allocations: 169.2 kB / 0.5212 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3822, allocations: 159.2 kB / 0.5214 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3823, allocations: 12.39 kB / 0.5214 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3825, allocations: 110.8 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.3828, allocations: 205.6 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3829, allocations: 7.188 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.3829, allocations: 27.61 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3831, allocations: 81.12 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.3832, allocations: 96.72 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.3836, allocations: 248.4 kB / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.3837, allocations: 0 / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3837, allocations: 5.156 kB / 0.5221 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3837, allocations: 0 / 0.5221 GB, free: 1.508 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.0007326/0.3844, allocations: 0.6464 MB / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3845, allocations: 10.69 kB / 0.5228 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3845, allocations: 32.53 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.3846, allocations: 47.11 kB / 0.5229 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3848, allocations: 311.2 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3849, allocations: 1.625 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3849, allocations: 2.656 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.385, allocations: 54.61 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.385, allocations: 0 / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.385, allocations: 4 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3851, allocations: 1.469 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.3851, allocations: 22.8 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.3858, allocations: 391.2 kB / 0.5236 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.3859, allocations: 39.33 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.3859, allocations: 15.33 kB / 0.5237 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3859, allocations: 0.5625 kB / 0.5237 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.386, allocations: 31.12 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.386, allocations: 1.938 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.3862, allocations: 106.2 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3863, allocations: 55.53 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.3874, allocations: 0.87 MB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3874, allocations: 25.7 kB / 0.5247 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3877, allocations: 222.5 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3877, allocations: 2.078 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3877, allocations: 17.08 kB / 0.525 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3879, allocations: 362.4 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.388, allocations: 15.66 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.449e-05/0.388, allocations: 7.703 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.3881, allocations: 27.25 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3881, allocations: 0 / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003109/0.3885, allocations: 109.3 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3885, allocations: 5.828 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3885, allocations: 0 / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3885, allocations: 4.094 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.3886, allocations: 6.75 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3886, allocations: 0.5625 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.3886, allocations: 3.859 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3887, allocations: 0.7969 kB / 0.5255 GB, free: 15 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.0002346/0.3889, allocations: 211.7 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.389, allocations: 42.12 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3892, allocations: 118.7 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3892, allocations: 0.75 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3892, allocations: 1.281 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3893, allocations: 0 / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3896, allocations: 283.7 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3896, allocations: 1.125 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3897, allocations: 5.328 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3897, allocations: 1.094 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3897, allocations: 4 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3897, allocations: 1.906 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3897, allocations: 0 / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.3902, allocations: 192.5 kB / 0.5263 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3903, allocations: 116 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3903, allocations: 1.938 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.3904, allocations: 2.016 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.3904, allocations: 10.55 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3904, allocations: 5.281 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009129/0.3914, allocations: 0.6558 MB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.3914, allocations: 0 / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.3918, allocations: 30.64 kB / 0.5271 GB, free: 13.96 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.001924/0.3937, allocations: 0.9601 MB / 0.528 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3939, allocations: 26.64 kB / 0.5281 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3939, allocations: 0 / 0.5281 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.394, allocations: 11.92 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3946, allocations: 36.19 kB / 0.5281 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.399, allocations: 3.139 MB / 0.5312 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.3998, allocations: 0.8263 MB / 0.532 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.017e-05/0.3999, allocations: 17.89 kB / 0.532 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4, allocations: 107.3 kB / 0.5321 GB, free: 10.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4, allocations: 0 / 0.5321 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4331, allocations: 5.749 MB / 0.5377 GB, free: 7.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.046, allocations: 10.16 kB / 0.5377 GB, free: 7.297 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches