Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.00128/0.00128, allocations: 117.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.002013/0.002013, allocations: 185 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.453/1.453, 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.2265/0.2265, allocations: 44.17 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002845/0.3602, allocations: 1.638 MB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.361, allocations: 455.2 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.361, allocations: 1 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.3613, allocations: 69.73 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.3615, allocations: 62.84 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.362, allocations: 179.3 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3621, allocations: 82.7 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3623, allocations: 26.3 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.3623, allocations: 38.83 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3624, allocations: 49.52 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.3625, allocations: 4.219 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3626, allocations: 47.48 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.3626, allocations: 28.22 kB / 0.521 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.3627, allocations: 35.98 kB / 0.5211 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3629, allocations: 128.2 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3629, allocations: 5.797 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3629, allocations: 0 / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3629, allocations: 0 / 0.5212 GB, free: 1.543 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.000464/0.3634, allocations: 423.7 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3635, allocations: 9.25 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.3635, allocations: 33.5 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3635, allocations: 18.62 kB / 0.5217 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3637, allocations: 197.5 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3637, allocations: 10.97 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3637, allocations: 11.08 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3639, allocations: 69.97 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3639, allocations: 0.75 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.364, allocations: 1.188 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.364, allocations: 1.125 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3641, allocations: 42.17 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3645, allocations: 339.8 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3648, allocations: 60.12 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.3649, allocations: 26.48 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3649, allocations: 1.719 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.3649, allocations: 35.69 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3649, allocations: 4 kB / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001474/0.3664, allocations: 419.1 kB / 0.5228 GB, free: 272 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3664, allocations: 53.28 kB / 0.5229 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3666, allocations: 213.4 kB / 0.5231 GB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.3666, allocations: 29.7 kB / 0.5231 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.3667, allocations: 109.7 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.3668, allocations: 39.7 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3668, allocations: 22.8 kB / 0.5233 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.367, allocations: 327.6 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3671, allocations: 51.97 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3673, allocations: 52.06 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3676, allocations: 134.7 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3676, allocations: 4 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003489/0.3679, allocations: 158.8 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.368, allocations: 9.312 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.368, allocations: 0 / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.368, allocations: 7.938 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3681, allocations: 26.86 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3681, allocations: 0 / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.3682, allocations: 11.09 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3682, allocations: 5.562 kB / 0.524 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 (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.0001199/0.3684, allocations: 138.1 kB / 0.5242 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3684, allocations: 14.91 kB / 0.5242 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.3689, allocations: 193 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3689, allocations: 10.05 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3689, allocations: 0 / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3689, allocations: 0.5625 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.3697, allocations: 0.5036 MB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3697, allocations: 1.812 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3698, allocations: 33.09 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3698, allocations: 2.812 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3698, allocations: 0 / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3699, allocations: 2.609 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3699, allocations: 1.25 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.3703, allocations: 279.3 kB / 0.5252 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.3704, allocations: 91.44 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3704, allocations: 1.375 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3705, allocations: 10.3 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.3706, allocations: 20.58 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3706, allocations: 3.312 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3708, allocations: 164.2 kB / 0.5255 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3708, allocations: 0 / 0.5255 GB, free: 14.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.371, allocations: 24.8 kB / 0.5255 GB, free: 14.34 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.002286/0.3733, allocations: 1.169 MB / 0.5266 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.3737, allocations: 129.5 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3737, allocations: 0 / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3739, allocations: 71.34 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3743, allocations: 19.3 kB / 0.5268 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3769, allocations: 1.943 MB / 0.5287 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3773, allocations: 0.7198 MB / 0.5294 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3774, allocations: 38.42 kB / 0.5295 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.3775, allocations: 38.67 kB / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3775, allocations: 0 / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4052, allocations: 3.552 MB / 0.533 GB, free: 9.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.251, allocations: 11.36 kB / 0.533 GB, free: 9.398 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches