Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001252/0.001252, allocations: 104 kB / 16.27 MB, free: 6.043 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.001306/0.001306, allocations: 190.8 kB / 17.2 MB, free: 5.688 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.412/1.412, 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.2211/0.2211, allocations: 43.51 MB / 313.9 MB, free: 0.543 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.00154/0.00154, allocations: 67.09 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09385, allocations: 57.79 MB / 440.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003177/0.09706, allocations: 1.955 MB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.09855, allocations: 0.7603 MB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.09874, allocations: 4 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.09925, allocations: 263.2 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.09967, allocations: 199.3 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1008, allocations: 0.5976 MB / 444.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1012, allocations: 291.3 kB / 444.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1013, allocations: 76.7 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1015, allocations: 139.4 kB / 444.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1017, allocations: 195.4 kB / 445.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1018, allocations: 12 kB / 445.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1019, allocations: 71.91 kB / 445.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.102, allocations: 91.67 kB / 445.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.1021, allocations: 119 kB / 445.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1025, allocations: 314.8 kB / 445.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1025, allocations: 8 kB / 445.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1025, allocations: 3.938 kB / 445.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1025, allocations: 0 / 445.7 MB, free: 1.762 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006264/0.1031, allocations: 0.6534 MB / 446.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1032, allocations: 15.89 kB / 446.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1032, allocations: 42.73 kB / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.1033, allocations: 40.47 kB / 446.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1036, allocations: 326.1 kB / 446.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1036, allocations: 8.375 kB / 446.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.1036, allocations: 12.38 kB / 446.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1038, allocations: 134.3 kB / 446.9 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1038, allocations: 7.969 kB / 446.9 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1039, allocations: 4 kB / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1039, allocations: 4 kB / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1041, allocations: 87.94 kB / 447 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1047, allocations: 0.5157 MB / 447.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1049, allocations: 114.5 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.105, allocations: 40.84 kB / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.105, allocations: 0 / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.105, allocations: 46.48 kB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.105, allocations: 0 / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009762/0.106, allocations: 440 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1061, allocations: 51.41 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.1067, allocations: 0.5565 MB / 448.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1067, allocations: 25.7 kB / 448.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1068, allocations: 212.3 kB / 449 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1069, allocations: 51.27 kB / 449 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.107, allocations: 37.61 kB / 449.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1071, allocations: 354.7 kB / 449.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1073, allocations: 71.89 kB / 449.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1074, allocations: 64.73 kB / 449.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1077, allocations: 159.7 kB / 449.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1077, allocations: 0 / 449.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003794/0.1081, allocations: 229 kB / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1081, allocations: 4 kB / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1081, allocations: 0 / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1081, allocations: 0 / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1083, allocations: 39.91 kB / 450 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1083, allocations: 3.984 kB / 450 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1084, allocations: 15.94 kB / 450 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1084, allocations: 8 kB / 450 MB, free: 13.21 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 (17): * Single equations (assignments): 17 * 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.0001667/0.1086, allocations: 189.6 kB / 450.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.1086, allocations: 39.44 kB / 450.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.1092, allocations: 280.2 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1092, allocations: 4 kB / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1092, allocations: 4 kB / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1092, allocations: 0 / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/0.11, allocations: 0.6739 MB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.11, allocations: 0 / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1101, allocations: 31.98 kB / 451.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1102, allocations: 7.938 kB / 451.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1102, allocations: 4 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1102, allocations: 7.875 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1102, allocations: 0 / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1106, allocations: 322.9 kB / 451.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1107, allocations: 124.6 kB / 451.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1107, allocations: 0 / 451.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1109, allocations: 15.94 kB / 451.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1109, allocations: 15.97 kB / 451.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1109, allocations: 4 kB / 451.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003842/0.1113, allocations: 411.1 kB / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1113, allocations: 0 / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1116, allocations: 59.89 kB / 452.2 MB, free: 10.95 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 (17): * Single equations (assignments): 17 * 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.002248/0.1139, allocations: 1.474 MB / 453.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.1143, allocations: 163.8 kB / 453.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1143, allocations: 0 / 453.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.1145, allocations: 100.1 kB / 453.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.115, allocations: 79.62 kB / 454 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.119, allocations: 3.212 MB / 457.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1195, allocations: 0.8182 MB / 458 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1197, allocations: 58.23 kB / 458.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1198, allocations: 127.4 kB / 458.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1199, allocations: 3.938 kB / 458.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.1496, allocations: 7.348 MB / 465.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.289, allocations: 11.88 kB / 465.5 MB, free: 13.46 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches