Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.00106/0.00106, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001158/0.001158, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.317/1.317, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.18/0.18, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 11.98 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09314, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001517/0.09469, allocations: 1.326 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006131/0.09531, allocations: 407.3 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.09536, allocations: 4 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.0958, allocations: 451.2 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.09605, allocations: 247.5 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.09632, allocations: 114.6 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.09649, allocations: 155.7 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.393e-05/0.09657, allocations: 8.188 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.09667, allocations: 107.7 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.09685, allocations: 203.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.09688, allocations: 0 / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/0.09695, allocations: 31.94 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.09704, allocations: 79.67 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.09712, allocations: 124.7 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.09733, allocations: 247.2 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.09734, allocations: 3.938 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09735, allocations: 0 / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.09736, allocations: 0 / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005313/0.09789, allocations: 0.5873 MB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.09793, allocations: 8.031 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.09797, allocations: 42.73 kB / 476.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.09802, allocations: 44.31 kB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.09824, allocations: 300.1 kB / 476.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09825, allocations: 4.375 kB / 476.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.09828, allocations: 8.125 kB / 476.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.09839, allocations: 53.67 kB / 476.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.09841, allocations: 4 kB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.09842, allocations: 0 / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.09843, allocations: 4 kB / 476.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.09852, allocations: 27.97 kB / 476.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.09891, allocations: 396.6 kB / 477.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.09908, allocations: 46.56 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.09914, allocations: 20.94 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.09916, allocations: 0 / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.09919, allocations: 34.5 kB / 477.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.09919, allocations: 0 / 477.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005237/0.09972, allocations: 235.9 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.09976, allocations: 59.34 kB / 477.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.1005, allocations: 0.8691 MB / 478.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1005, allocations: 25.7 kB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1006, allocations: 224 kB / 478.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1007, allocations: 19.73 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.1007, allocations: 13.72 kB / 478.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1008, allocations: 358.8 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.1009, allocations: 23.98 kB / 479.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1009, allocations: 23.98 kB / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1011, allocations: 52.83 kB / 479.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1011, allocations: 0 / 479.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.1013, allocations: 125.1 kB / 479.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1013, allocations: 11.94 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1013, allocations: 0 / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.1013, allocations: 0 / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.1014, allocations: 15.98 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1014, allocations: 3.938 kB / 479.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1015, allocations: 8 kB / 479.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1015, allocations: 7.984 kB / 479.4 MB, free: 5.91 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0001472/0.1016, allocations: 209.8 kB / 479.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.1017, allocations: 43.38 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1019, allocations: 145 kB / 479.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1019, allocations: 3.938 kB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1019, allocations: 3.938 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.102, allocations: 320 / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.1024, allocations: 462.5 kB / 480.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1024, allocations: 4 kB / 480.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.1025, allocations: 19.98 kB / 480.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1025, allocations: 3.938 kB / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.1025, allocations: 0 / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1025, allocations: 0 / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1025, allocations: 0 / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1027, allocations: 223 kB / 480.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1028, allocations: 112.8 kB / 480.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1028, allocations: 3.938 kB / 480.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.1029, allocations: 11.98 kB / 480.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.103, allocations: 4 kB / 480.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.103, allocations: 3.984 kB / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005278/0.1035, allocations: 0.655 MB / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1035, allocations: 3.938 kB / 481.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1037, allocations: 24 kB / 481.3 MB, free: 3.891 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001172/0.1049, allocations: 1.055 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.1051, allocations: 51.97 kB / 482.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1051, allocations: 0 / 482.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.1052, allocations: 39.91 kB / 482.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1055, allocations: 17.97 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.1086, allocations: 3.327 MB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.109, allocations: 0.8262 MB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.109, allocations: 7.984 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1091, allocations: 103.4 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1091, allocations: 0 / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.2266, allocations: 5.404 MB / 492.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.2269, allocations: 231.8 kB / 492.4 MB, free: 8.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.007, allocations: 0 / 492.4 MB, free: 8.93 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches