Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.001125/0.001125, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 202.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2814/0.2814, allocations: 43.49 MB / 313.5 MB, free: 8.195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.91 kB / 382.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09473, allocations: 57.77 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002692/0.09746, allocations: 1.637 MB / 441.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.09802, allocations: 307.7 kB / 441.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.09807, allocations: 0 / 441.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.09856, allocations: 451.2 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.0989, allocations: 239.6 kB / 442.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.09916, allocations: 103.8 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.09934, allocations: 151.7 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.09944, allocations: 15.94 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.09955, allocations: 99.73 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.09977, allocations: 199.7 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.09979, allocations: 0 / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.09986, allocations: 27.91 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-05/0.09996, allocations: 83.69 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.1, allocations: 99 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1003, allocations: 235.2 kB / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1003, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1003, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1003, allocations: 0 / 443.5 MB, free: 10.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006296/0.1009, allocations: 0.6336 MB / 444.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.101, allocations: 8.031 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.101, allocations: 30.75 kB / 444.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.1011, allocations: 44.38 kB / 444.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1013, allocations: 292.2 kB / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1013, allocations: 8.375 kB / 444.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1013, allocations: 384 / 444.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1015, allocations: 45.62 kB / 444.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.1015, allocations: 0 / 444.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1015, allocations: 8 kB / 444.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1015, allocations: 0 / 444.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.1016, allocations: 19.98 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.102, allocations: 380.7 kB / 445 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.1021, allocations: 30.56 kB / 445 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.1021, allocations: 20.86 kB / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1022, allocations: 0 / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1022, allocations: 30.56 kB / 445 MB, free: 9.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1022, allocations: 0 / 445 MB, free: 9.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002587/0.1024, allocations: 105 kB / 445.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1025, allocations: 55.41 kB / 445.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.1033, allocations: 0.8574 MB / 446.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1033, allocations: 29.83 kB / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1034, allocations: 220.1 kB / 446.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1035, allocations: 11.84 kB / 446.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.1035, allocations: 9.719 kB / 446.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1037, allocations: 370.7 kB / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.1037, allocations: 4 kB / 446.7 MB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.1037, allocations: 7.984 kB / 446.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.357e-05/0.1038, allocations: 28.91 kB / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1038, allocations: 0 / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/0.104, allocations: 89.16 kB / 446.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.104, allocations: 7.938 kB / 446.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.104, allocations: 0 / 446.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.104, allocations: 4 kB / 446.8 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.1041, allocations: 4 kB / 446.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1041, allocations: 0 / 446.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.1041, allocations: 8.016 kB / 446.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1042, allocations: 8 kB / 446.8 MB, free: 7.332 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0001633/0.1043, allocations: 213.7 kB / 447.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.1044, allocations: 43.44 kB / 447.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.1046, allocations: 100.6 kB / 447.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1046, allocations: 7.984 kB / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1046, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1046, allocations: 4.031 kB / 447.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1049, allocations: 289.5 kB / 447.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1049, allocations: 0 / 447.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1049, allocations: 4 kB / 447.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1049, allocations: 0 / 447.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1049, allocations: 4 kB / 447.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1049, allocations: 0 / 447.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1049, allocations: 7.922 kB / 447.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1051, allocations: 190.9 kB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1052, allocations: 108.6 kB / 447.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1052, allocations: 3.938 kB / 447.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1053, allocations: 4 kB / 447.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.1053, allocations: 3.984 kB / 447.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1054, allocations: 0 / 447.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.1059, allocations: 0.6511 MB / 448.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1059, allocations: 0 / 448.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1061, allocations: 23.94 kB / 448.5 MB, free: 5.594 MB / 382.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 (2): * Single equations (assignments): 2 * 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.001009/0.1072, allocations: 0.9659 MB / 449.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1073, allocations: 23.92 kB / 449.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1073, allocations: 0 / 449.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.1073, allocations: 12 kB / 449.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1077, allocations: 25.81 kB / 449.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1105, allocations: 3.213 MB / 452.7 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1108, allocations: 0.8106 MB / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1109, allocations: 8.062 kB / 453.5 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.111, allocations: 107.4 kB / 453.6 MB, free: 328 kB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.111, allocations: 0 / 453.6 MB, free: 328 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5521/0.6631, allocations: 5.407 MB / 459.1 MB, free: 48.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.6633, allocations: 237.9 kB / 459.3 MB, free: 47.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.916, allocations: 0 / 459.3 MB, free: 47.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches