Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001097/0.001097, 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.001112/0.001112, 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.203/0.203, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3448, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002562/0.3474, allocations: 1.587 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3486, allocations: 1.037 MB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.3487, allocations: 1.281 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3489, allocations: 24.27 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.3491, allocations: 46.41 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3494, allocations: 108 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3495, allocations: 67.67 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3496, allocations: 24.58 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.3497, allocations: 29.47 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3498, allocations: 31.72 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3498, allocations: 3.812 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.35, allocations: 51.92 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.35, allocations: 15.59 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.35, allocations: 25.66 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3503, allocations: 112.5 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3503, allocations: 1.25 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3503, allocations: 0 / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3503, allocations: 0 / 0.5215 GB, free: 1.203 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003784/0.3507, allocations: 388 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3507, allocations: 9.031 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.3507, allocations: 32.73 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3508, allocations: 9.406 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3509, allocations: 196.6 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3509, allocations: 10.41 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.351, allocations: 11.22 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3511, allocations: 76.64 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3512, allocations: 0.7031 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3512, allocations: 5 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3512, allocations: 1.438 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3513, allocations: 39.75 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3516, allocations: 304.7 kB / 0.5225 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3518, allocations: 59.16 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.3519, allocations: 21.64 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3519, allocations: 1.594 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3519, allocations: 36.31 kB / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3519, allocations: 0 / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006019/0.3525, allocations: 190 kB / 0.5228 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.3526, allocations: 82.77 kB / 0.5229 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3527, allocations: 136.6 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3528, allocations: 29.7 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3528, allocations: 97.05 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.3529, allocations: 26.73 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3529, allocations: 20.94 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.353, allocations: 320.5 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.3531, allocations: 29.86 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.3532, allocations: 48.02 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3534, allocations: 74.73 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3534, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002431/0.3537, allocations: 106.8 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3537, allocations: 9.359 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3537, allocations: 0 / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3537, allocations: 1.125 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3539, allocations: 20.47 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3539, allocations: 9.844 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.3539, allocations: 8.422 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3539, allocations: 2.25 kB / 0.5238 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 (8): * Single equations (assignments): 8 * 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 9.614e-05/0.354, allocations: 122 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3541, allocations: 7.281 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3544, allocations: 125 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3544, allocations: 1.5 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3545, allocations: 3.938 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3545, allocations: 5.781 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.355, allocations: 407.2 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.355, allocations: 0 / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.3551, allocations: 20.53 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3551, allocations: 1.344 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3551, allocations: 5.656 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3552, allocations: 1.125 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3552, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3555, allocations: 213.1 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.3555, allocations: 83.64 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3555, allocations: 0.9375 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3556, allocations: 4.672 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.3557, allocations: 6.672 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3557, allocations: 5.75 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3558, allocations: 114.1 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3558, allocations: 0 / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3561, allocations: 27.48 kB / 0.5249 GB, free: 14.25 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 (8): * Single equations (assignments): 8 * 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.001529/0.3576, allocations: 1.075 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3579, allocations: 70.39 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3579, allocations: 0 / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.358, allocations: 46.25 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3584, allocations: 20.97 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3601, allocations: 1.509 MB / 0.5276 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3604, allocations: 0.6986 MB / 0.5283 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.3605, allocations: 28.59 kB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.3606, allocations: 26.94 kB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3606, allocations: 0 / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.3833, allocations: 2.995 MB / 0.5312 GB, free: 10.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.226, allocations: 16.11 kB / 0.5313 GB, free: 10.02 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches