Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.00157/0.00157, 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.002194/0.002195, allocations: 187 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.512/1.512, 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.2498/0.2498, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4399, allocations: 60.82 MB / 0.5184 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00523/0.4451, allocations: 1.647 MB / 0.5201 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4463, allocations: 445.9 kB / 0.5205 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.4465, allocations: 1.312 kB / 0.5205 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4468, allocations: 53.72 kB / 0.5205 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.4471, allocations: 52 kB / 0.5206 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.4477, allocations: 177 kB / 0.5207 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.4479, allocations: 81.5 kB / 0.5208 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4481, allocations: 21.19 kB / 0.5208 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.4482, allocations: 34.67 kB / 0.5209 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4483, allocations: 47.06 kB / 0.5209 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4483, allocations: 3.906 kB / 0.5209 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4485, allocations: 44.08 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.4485, allocations: 20.48 kB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.4486, allocations: 40.38 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4489, allocations: 110.9 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4489, allocations: 0 / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4489, allocations: 0 / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4489, allocations: 0 / 0.5211 GB, free: 1.41 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.0006602/0.4496, allocations: 415.7 kB / 0.5215 GB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4496, allocations: 9.219 kB / 0.5215 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.4497, allocations: 32.69 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.4497, allocations: 18.92 kB / 0.5216 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4499, allocations: 197.2 kB / 0.5218 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4499, allocations: 10.19 kB / 0.5218 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.45, allocations: 3.188 kB / 0.5218 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4502, allocations: 70.31 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4502, allocations: 1.062 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4502, allocations: 0.6562 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4503, allocations: 5.078 kB / 0.5219 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.4504, allocations: 43.36 kB / 0.5219 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.451, allocations: 322.9 kB / 0.5222 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.4513, allocations: 56 kB / 0.5223 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.4514, allocations: 35.39 kB / 0.5223 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.4514, allocations: 1.406 kB / 0.5223 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4515, allocations: 35.08 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.4515, allocations: 1.5 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00188/0.4533, allocations: 428.9 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.4534, allocations: 52.41 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.4538, allocations: 173 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.4539, allocations: 30.86 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.454, allocations: 103.8 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.4541, allocations: 34.84 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4542, allocations: 27.66 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.4544, allocations: 322 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4546, allocations: 51.31 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.4548, allocations: 60.58 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4552, allocations: 118.6 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4553, allocations: 1.438 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005147/0.4558, allocations: 173.2 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.4558, allocations: 9.344 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4558, allocations: 4 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.4559, allocations: 1.906 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.456, allocations: 28.5 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.4561, allocations: 1.5 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.4562, allocations: 9.422 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4562, allocations: 2.844 kB / 0.5239 GB, free: 15.29 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 (11): * Single equations (assignments): 11 * 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.0001578/0.4563, allocations: 126 kB / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.4564, allocations: 21.5 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.4571, allocations: 191.5 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4571, allocations: 1.156 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.4571, allocations: 4 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4571, allocations: 1.734 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.4584, allocations: 0.4953 MB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4584, allocations: 2.406 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.4585, allocations: 29.09 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.4585, allocations: 0 / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4585, allocations: 2.656 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.4586, allocations: 1.875 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4586, allocations: 2.562 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.4592, allocations: 273.3 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.4593, allocations: 90.27 kB / 0.5251 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4593, allocations: 7.234 kB / 0.5251 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4594, allocations: 13.55 kB / 0.5251 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.4595, allocations: 12.83 kB / 0.5251 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.4596, allocations: 3.297 kB / 0.5251 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.4598, allocations: 134 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4598, allocations: 0 / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.4601, allocations: 32.86 kB / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001832/0.462, allocations: 1.152 MB / 0.5264 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4624, allocations: 127.1 kB / 0.5265 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4624, allocations: 0 / 0.5265 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.4626, allocations: 73.91 kB / 0.5266 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.463, allocations: 15.11 kB / 0.5266 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.4662, allocations: 1.868 MB / 0.5284 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4666, allocations: 0.7157 MB / 0.5291 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.4668, allocations: 34.28 kB / 0.5292 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.4669, allocations: 34.97 kB / 0.5292 GB, free: 11.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4669, allocations: 0 / 0.5292 GB, free: 11.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4896, allocations: 3.403 MB / 0.5325 GB, free: 9.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.21, allocations: 10.33 kB / 0.5325 GB, free: 9.473 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches