Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",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.0009122/0.0009127, allocations: 101.9 kB / 16.02 MB, free: 76 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.001122/0.001122, allocations: 185 kB / 16.92 MB, free: 6.918 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.51/1.51, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.3401/0.3401, allocations: 43.57 MB / 315 MB, free: 8.793 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.0004975/0.0004981, allocations: 20 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001733/0.116, allocations: 1.302 MB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005309/0.1166, allocations: 299.7 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.1166, allocations: 0 / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.1171, allocations: 451.2 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1174, allocations: 247.5 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1177, allocations: 103.8 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1179, allocations: 151.7 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.1179, allocations: 15.98 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1181, allocations: 99.78 kB / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1183, allocations: 199.6 kB / 446.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1183, allocations: 4 kB / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.1183, allocations: 20 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.1184, allocations: 79.69 kB / 446.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.1185, allocations: 132.7 kB / 446.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1188, allocations: 235.2 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1188, allocations: 0 / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1188, allocations: 4 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1188, allocations: 0 / 446.8 MB, free: 9.27 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.0006111/0.1194, allocations: 0.5872 MB / 447.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1195, allocations: 15.97 kB / 447.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1195, allocations: 38.75 kB / 447.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1196, allocations: 36.47 kB / 447.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1198, allocations: 300.1 kB / 447.8 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-06/0.1198, allocations: 384 / 447.8 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1198, allocations: 4.375 kB / 447.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.12, allocations: 69.55 kB / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.12, allocations: 0 / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.12, allocations: 0 / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.12, allocations: 4 kB / 447.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1202, allocations: 35.97 kB / 447.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1206, allocations: 376.7 kB / 448.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1207, allocations: 50.48 kB / 448.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.1208, allocations: 24.95 kB / 448.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1208, allocations: 3.984 kB / 448.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1208, allocations: 30.56 kB / 448.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1208, allocations: 4 kB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003162/0.1212, allocations: 129.2 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.1212, allocations: 51.41 kB / 448.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.122, allocations: 0.8574 MB / 449.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.122, allocations: 37.64 kB / 449.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1222, allocations: 215.9 kB / 449.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1222, allocations: 7.906 kB / 449.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.1222, allocations: 13.72 kB / 449.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1224, allocations: 362.7 kB / 450.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1224, allocations: 19.98 kB / 450.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.1225, allocations: 19.98 kB / 450.1 MB, free: 5.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1226, allocations: 44.84 kB / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1226, allocations: 0 / 450.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001847/0.1228, allocations: 113.2 kB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1229, allocations: 4 kB / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1229, allocations: 0 / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1229, allocations: 0 / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.123, allocations: 11.94 kB / 450.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.123, allocations: 0 / 450.3 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.123, allocations: 19.83 kB / 450.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1231, allocations: 4 kB / 450.3 MB, free: 5.582 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 (3): * Single equations (assignments): 3 * 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.0001747/0.1232, allocations: 213.7 kB / 450.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1233, allocations: 35.53 kB / 450.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1235, allocations: 129 kB / 450.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1236, allocations: 4 kB / 450.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1236, allocations: 0 / 450.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1236, allocations: 3.938 kB / 450.7 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1238, allocations: 289.5 kB / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1238, allocations: 0 / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.1239, allocations: 15.92 kB / 451 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1239, allocations: 0 / 451 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1239, allocations: 0 / 451 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1239, allocations: 4 kB / 451 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1239, allocations: 0 / 451 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1242, allocations: 210.9 kB / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1242, allocations: 112.5 kB / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1243, allocations: 0 / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.1244, allocations: 12 kB / 451.3 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1244, allocations: 7.984 kB / 451.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1244, allocations: 4 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005762/0.125, allocations: 0.6472 MB / 452 MB, free: 3.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.125, allocations: 0 / 452 MB, free: 3.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1252, allocations: 23.98 kB / 452 MB, free: 3.789 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 (3): * Single equations (assignments): 3 * 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.001198/0.1264, allocations: 1.002 MB / 453 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1266, allocations: 43.97 kB / 453 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1266, allocations: 0 / 453 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.1267, allocations: 23.92 kB / 453 MB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1271, allocations: 25.95 kB / 453.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2015/0.3285, allocations: 3.241 MB / 456.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.329, allocations: 0.8213 MB / 457.1 MB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.329, allocations: 10.11 kB / 457.1 MB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3292, allocations: 108.2 kB / 457.2 MB, free: 44.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3292, allocations: 0.8125 kB / 457.2 MB, free: 44.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.3439, allocations: 5.17 MB / 462.4 MB, free: 44.15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.3441, allocations: 241.2 kB / 462.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.313, allocations: 0 / 462.7 MB, free: 43.89 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches