Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001629/0.001629, allocations: 104 kB / 17.63 MB, free: 5.523 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.001811/0.001811, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09853, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00298/0.1016, allocations: 1.561 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1031, allocations: 1.016 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.1031, allocations: 8 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1034, allocations: 19.84 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1036, allocations: 55.7 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1039, allocations: 106.9 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1041, allocations: 51.91 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1042, allocations: 11.98 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.1043, allocations: 27.92 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1044, allocations: 31.08 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1044, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1046, allocations: 51.91 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1046, allocations: 15.92 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1047, allocations: 19.88 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1048, allocations: 88.05 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1049, allocations: 0 / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1049, allocations: 3.938 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1049, allocations: 0 / 472.4 MB, free: 11.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004734/0.1054, allocations: 383.3 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1054, allocations: 8.031 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1054, allocations: 34.75 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1055, allocations: 8.844 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.1057, allocations: 188.1 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.1057, allocations: 4.375 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1057, allocations: 384 / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1059, allocations: 71.33 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1059, allocations: 3.938 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1059, allocations: 4 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1059, allocations: 0 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.957e-05/0.106, allocations: 19.98 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1064, allocations: 284.8 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1066, allocations: 46.56 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1067, allocations: 12.86 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1067, allocations: 4.078 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1067, allocations: 30.56 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1067, allocations: 4 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.1073, allocations: 149.3 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1073, allocations: 77.11 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1075, allocations: 139.8 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1075, allocations: 25.7 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1075, allocations: 104 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1076, allocations: 7.812 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.1076, allocations: 21.72 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1077, allocations: 326.8 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.1078, allocations: 23.92 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.1079, allocations: 37.69 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.108, allocations: 48.83 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.108, allocations: 0 / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001934/0.1082, allocations: 89.8 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1082, allocations: 8 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1083, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1083, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.1083, allocations: 15.92 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1084, allocations: 4 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1084, allocations: 3.984 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1084, allocations: 7.938 kB / 474.6 MB, free: 8.785 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 8.027e-05/0.1085, allocations: 117.8 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1085, allocations: 7.906 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1088, allocations: 97.55 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1088, allocations: 3.984 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1088, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1088, allocations: 7.938 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1093, allocations: 354.4 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1093, allocations: 0 / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.1093, allocations: 12 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1093, allocations: 0 / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1094, allocations: 7.984 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1094, allocations: 3.938 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1094, allocations: 0 / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1096, allocations: 183.7 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.1096, allocations: 85 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1097, allocations: 8.234 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.1097, allocations: 7.938 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1098, allocations: 11.98 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1098, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.1099, allocations: 103.3 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1099, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1102, allocations: 20 kB / 475.6 MB, free: 7.668 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.001318/0.1115, allocations: 1.047 MB / 476.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1117, allocations: 55.95 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1117, allocations: 0 / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.1118, allocations: 27.92 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1121, allocations: 23.8 kB / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1137, allocations: 1.401 MB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1139, allocations: 0.6923 MB / 478.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.114, allocations: 20.03 kB / 478.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.1141, allocations: 23.44 kB / 478.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1141, allocations: 0 / 478.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1355, allocations: 2.691 MB / 481.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.863, allocations: 7.984 kB / 481.6 MB, free: 1.793 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches