Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001323/0.001323, 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.001521/0.001521, 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2115/0.2115, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 75.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3418, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002951/0.3448, allocations: 1.97 MB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3468, allocations: 1.136 MB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3471, allocations: 2.906 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.3475, allocations: 56.19 kB / 0.5215 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3479, allocations: 147.9 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3494, allocations: 0.5775 MB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.3498, allocations: 279.8 kB / 0.5225 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.35, allocations: 79.47 kB / 0.5226 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3502, allocations: 121.2 kB / 0.5227 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.3504, allocations: 177.9 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.3505, allocations: 12.66 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3506, allocations: 64.41 kB / 0.5229 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3508, allocations: 140.2 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3509, allocations: 161.8 kB / 0.5232 GB, free: 336 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.3513, allocations: 398.1 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3513, allocations: 0.6562 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3513, allocations: 0 / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3513, allocations: 1.438 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009677/0.3523, allocations: 0.7741 MB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3524, allocations: 10.11 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.3524, allocations: 44.44 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.3525, allocations: 54.84 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.353, allocations: 453.9 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3531, allocations: 13.09 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3531, allocations: 14.47 kB / 0.5249 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3534, allocations: 142.5 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3534, allocations: 1.281 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3534, allocations: 9.25 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3535, allocations: 3.281 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.3537, allocations: 94.23 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.3546, allocations: 0.7029 MB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.3549, allocations: 112.9 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.355, allocations: 56.58 kB / 0.526 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3551, allocations: 6.312 kB / 0.526 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3551, allocations: 37.97 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3551, allocations: 0 / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001479/0.3566, allocations: 0.5365 MB / 0.5266 GB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3566, allocations: 81.08 kB / 0.5266 GB, free: 14.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.3576, allocations: 0.8868 MB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3577, allocations: 27.05 kB / 0.5275 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3579, allocations: 256.1 kB / 0.5278 GB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.3579, allocations: 53.62 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.358, allocations: 36.8 kB / 0.5279 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3581, allocations: 378.2 kB / 0.5282 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3583, allocations: 66.61 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.3585, allocations: 77.36 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.3588, allocations: 159.7 kB / 0.5285 GB, free: 12.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3588, allocations: 0 / 0.5285 GB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004797/0.3593, allocations: 238.9 kB / 0.5287 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3594, allocations: 4.75 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3594, allocations: 5.625 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3594, allocations: 1.656 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3596, allocations: 38.91 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3596, allocations: 1.125 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3598, allocations: 12.3 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3598, allocations: 8.375 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.000221/0.36, allocations: 218.5 kB / 0.529 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3601, allocations: 56.91 kB / 0.5291 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.3607, allocations: 291 kB / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3608, allocations: 6.562 kB / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3608, allocations: 1.125 kB / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3608, allocations: 0 / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3619, allocations: 0.8019 MB / 0.5301 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3619, allocations: 1.531 kB / 0.5301 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3621, allocations: 39 kB / 0.5302 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3621, allocations: 1.25 kB / 0.5302 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3621, allocations: 7.172 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3621, allocations: 7.875 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3621, allocations: 1.188 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3626, allocations: 422.9 kB / 0.5306 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3628, allocations: 144.9 kB / 0.5307 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.3629, allocations: 6.188 kB / 0.5308 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3631, allocations: 15.55 kB / 0.5308 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.3631, allocations: 15.27 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3631, allocations: 12.14 kB / 0.5308 GB, free: 11.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007582/0.3639, allocations: 0.6458 MB / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3639, allocations: 0 / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3643, allocations: 49.41 kB / 0.5315 GB, free: 10.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001589/0.3659, allocations: 1.253 MB / 0.5327 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.3663, allocations: 160.8 kB / 0.5328 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3664, allocations: 0 / 0.5328 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3666, allocations: 102.2 kB / 0.5329 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.3672, allocations: 78.33 kB / 0.533 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/0.3755, allocations: 5.051 MB / 0.538 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.3762, allocations: 0.8671 MB / 0.5388 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.3765, allocations: 88.19 kB / 0.5389 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.3769, allocations: 169.1 kB / 0.539 GB, free: 5.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3769, allocations: 0 / 0.539 GB, free: 5.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.4079, allocations: 9.913 MB / 0.5487 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.554, allocations: 9.078 kB / 0.5487 GB, free: 12.88 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches