Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001708/0.001708, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001589/0.001589, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.648/1.648, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2629/0.2629, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5165, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003445/0.52, allocations: 1.619 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.5209, allocations: 425.5 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.5209, allocations: 1.062 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.5215, allocations: 93.33 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.5218, allocations: 71.02 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.5221, allocations: 122.5 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.5223, allocations: 92.31 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.5224, allocations: 28.17 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.5225, allocations: 42.31 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.5227, allocations: 57.3 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.5227, allocations: 8.766 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.5228, allocations: 49.17 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.523, allocations: 22.69 kB / 0.521 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.5231, allocations: 41.17 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.5233, allocations: 127.4 kB / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.5234, allocations: 1.031 kB / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5234, allocations: 0 / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5234, allocations: 0 / 0.5212 GB, free: 1.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005031/0.5239, allocations: 445.6 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.524, allocations: 9.438 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.524, allocations: 34.58 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.5241, allocations: 11.16 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.5244, allocations: 210.1 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5244, allocations: 2.75 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5245, allocations: 8.453 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.5247, allocations: 77.36 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5247, allocations: 5.25 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5247, allocations: 2.016 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.5247, allocations: 5.062 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5249, allocations: 41.31 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.5255, allocations: 347.2 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.5257, allocations: 74.77 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.5258, allocations: 27.09 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.5258, allocations: 5.906 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.5258, allocations: 32.42 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5258, allocations: 1.219 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001488/0.5273, allocations: 334.9 kB / 0.5228 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5274, allocations: 57.22 kB / 0.5228 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.5276, allocations: 229.7 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5276, allocations: 25.7 kB / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5277, allocations: 115.3 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.5278, allocations: 44.77 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.5279, allocations: 33.31 kB / 0.5232 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.528, allocations: 323.5 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.5282, allocations: 44.08 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.5283, allocations: 44.39 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.5285, allocations: 108.3 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5285, allocations: 0 / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000452/0.529, allocations: 155 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.529, allocations: 5.625 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.529, allocations: 12.56 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5291, allocations: 1.312 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5292, allocations: 25.91 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5292, allocations: 0 / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.5292, allocations: 9.781 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.5293, allocations: 3.281 kB / 0.5239 GB, free: 15.4 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 (13): * Single equations (assignments): 13 * 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.0001259/0.5294, allocations: 136.4 kB / 0.5241 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.5294, allocations: 13.88 kB / 0.5241 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.5298, allocations: 194.3 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5298, allocations: 4.734 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5298, allocations: 1.656 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5299, allocations: 4.688 kB / 0.5243 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.5308, allocations: 498.1 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5308, allocations: 0 / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.5309, allocations: 37.7 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.5309, allocations: 0 / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5309, allocations: 4.344 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5309, allocations: 0 / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5309, allocations: 0 / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.5313, allocations: 260 kB / 0.525 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.5314, allocations: 90.23 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5314, allocations: 2.031 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.5315, allocations: 8 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.5315, allocations: 9.094 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.5316, allocations: 3.609 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.5318, allocations: 183.9 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5318, allocations: 0 / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.532, allocations: 32.25 kB / 0.5254 GB, free: 14.36 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 (13): * Single equations (assignments): 13 * 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.002639/0.5347, allocations: 1.133 MB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.5351, allocations: 117.6 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5351, allocations: 7.938 kB / 0.5266 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.5353, allocations: 61.81 kB / 0.5266 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.5357, allocations: 18.3 kB / 0.5267 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.5388, allocations: 1.895 MB / 0.5285 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.5393, allocations: 0.7231 MB / 0.5292 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.5394, allocations: 22.22 kB / 0.5292 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.5395, allocations: 44.94 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5395, allocations: 0 / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.5708, allocations: 3.528 MB / 0.5327 GB, free: 9.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.011/9.581, allocations: 12.05 kB / 0.5327 GB, free: 9.566 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches