Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001163/0.001163, allocations: 101 kB / 16.26 MB, free: 5.93 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.001162/0.001162, allocations: 190.2 kB / 17.2 MB, free: 5.574 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.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2071/0.2071, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00212/0.00212, allocations: 73.88 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.0993, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003098/0.1024, allocations: 1.597 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.103, allocations: 343.4 kB / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.1031, allocations: 8 kB / 442.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.1036, allocations: 459.1 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1039, allocations: 247.5 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1042, allocations: 155.3 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1044, allocations: 163.7 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1045, allocations: 24.17 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.1046, allocations: 107.7 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1048, allocations: 207.6 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1048, allocations: 4 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.777e-05/0.1049, allocations: 31.98 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.105, allocations: 79.69 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.1051, allocations: 103 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1053, allocations: 259 kB / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1053, allocations: 0 / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1053, allocations: 0 / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1053, allocations: 0 / 444.4 MB, free: 3.039 MB / 318.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.0005737/0.1059, allocations: 0.6413 MB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.106, allocations: 11.89 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.106, allocations: 34.73 kB / 445.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.1061, allocations: 44.38 kB / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1063, allocations: 304.1 kB / 445.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1063, allocations: 4.375 kB / 445.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1064, allocations: 12.12 kB / 445.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1065, allocations: 57.67 kB / 445.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1065, allocations: 0 / 445.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1065, allocations: 0 / 445.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1065, allocations: 7.938 kB / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1066, allocations: 23.98 kB / 445.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1071, allocations: 408.6 kB / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1073, allocations: 46.48 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1073, allocations: 16.86 kB / 446 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1074, allocations: 4.078 kB / 446 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1074, allocations: 34.56 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1074, allocations: 0 / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005287/0.1079, allocations: 231.9 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1079, allocations: 55.41 kB / 446.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.1085, allocations: 0.8691 MB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.1085, allocations: 25.7 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1087, allocations: 224.1 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1087, allocations: 19.66 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1088, allocations: 25.72 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1089, allocations: 358.8 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.109, allocations: 23.98 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.1091, allocations: 19.98 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1092, allocations: 52.83 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1092, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003133/0.1096, allocations: 125.1 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1096, allocations: 8 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1096, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1096, allocations: 0 / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.1097, allocations: 11.98 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1097, allocations: 3.938 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.1097, allocations: 4 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1098, allocations: 4 kB / 448 MB, free: 15.13 MB / 334.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.000269/0.11, allocations: 221.7 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.1101, allocations: 43.38 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1104, allocations: 149.3 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1104, allocations: 0 / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1104, allocations: 3.938 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1104, allocations: 0 / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.1109, allocations: 470.5 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.111, allocations: 0 / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.111, allocations: 15.92 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.111, allocations: 3.938 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.111, allocations: 0 / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.111, allocations: 4 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1111, allocations: 0 / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1113, allocations: 219 kB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.1114, allocations: 112.5 kB / 449.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1114, allocations: 3.938 kB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1115, allocations: 7.984 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1116, allocations: 0 / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1116, allocations: 8 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.1121, allocations: 0.6511 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1121, allocations: 0 / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1124, allocations: 28 kB / 449.9 MB, free: 13.11 MB / 334.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.001268/0.1137, allocations: 1.059 MB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1139, allocations: 59.89 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1139, allocations: 0 / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.114, allocations: 27.98 kB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1143, allocations: 27.61 kB / 451.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.1183, allocations: 3.271 MB / 454.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.119, allocations: 0.8375 MB / 455.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.119, allocations: 16.23 kB / 455.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.1193, allocations: 111.4 kB / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1193, allocations: 0 / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05134/0.1707, allocations: 5.9 MB / 461.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.028, allocations: 7.922 kB / 461.3 MB, free: 1.715 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches