Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.0007533/0.0007534, allocations: 91.56 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.0008543/0.0008544, allocations: 168.2 kB / 18.25 MB, free: 5.508 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.301/1.301, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2122/0.2122, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 8.719 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1013, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001856/0.1032, allocations: 1.29 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.1039, allocations: 395.4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.104, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1041, allocations: 23.91 kB / 474.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1043, allocations: 27.92 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1046, allocations: 98.19 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1047, allocations: 59.77 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.1048, allocations: 12 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.1049, allocations: 15.92 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.1049, allocations: 19.88 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1049, allocations: 0 / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.105, allocations: 27.97 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.1051, allocations: 15.92 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1051, allocations: 41.52 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1052, allocations: 80.06 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1053, allocations: 4 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1053, allocations: 0 / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1053, allocations: 0 / 474.4 MB, free: 11.13 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.000373/0.1057, allocations: 377.4 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1057, allocations: 8.031 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1057, allocations: 30.75 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1058, allocations: 8.844 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1059, allocations: 192.2 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.1059, allocations: 384 / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.106, allocations: 12.38 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1061, allocations: 53.56 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1061, allocations: 0 / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1061, allocations: 0 / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1061, allocations: 3.984 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.1062, allocations: 27.98 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.1066, allocations: 280.9 kB / 475.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1068, allocations: 54.48 kB / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.1068, allocations: 12.86 kB / 475.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1068, allocations: 8 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1069, allocations: 34.56 kB / 475.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1069, allocations: 0 / 475.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005354/0.1074, allocations: 169.3 kB / 475.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1075, allocations: 51.41 kB / 475.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1076, allocations: 156.5 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1076, allocations: 25.7 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1077, allocations: 92.14 kB / 476 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1077, allocations: 23.73 kB / 476 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.1077, allocations: 9.719 kB / 476 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1078, allocations: 322.8 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.1079, allocations: 31.91 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.108, allocations: 23.98 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1081, allocations: 68.77 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1081, allocations: 0 / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.1083, allocations: 93.75 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1084, allocations: 4 kB / 476.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1084, allocations: 64 / 476.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1084, allocations: 12 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.1085, allocations: 12 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1085, allocations: 0 / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1085, allocations: 11.92 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1085, allocations: 0 / 476.6 MB, free: 8.738 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 7.355e-05/0.1086, allocations: 117.8 kB / 476.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1086, allocations: 7.906 kB / 476.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1089, allocations: 109.9 kB / 476.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1089, allocations: 0 / 476.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1089, allocations: 4.219 kB / 476.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1089, allocations: 7.938 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1093, allocations: 370.4 kB / 477.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1093, allocations: 0 / 477.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.1094, allocations: 19.97 kB / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1094, allocations: 0 / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1094, allocations: 3.938 kB / 477.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1094, allocations: 0 / 477.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1094, allocations: 4 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1096, allocations: 191.4 kB / 477.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.1097, allocations: 77.11 kB / 477.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1097, allocations: 3.938 kB / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1098, allocations: 15.98 kB / 477.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1098, allocations: 4 kB / 477.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1098, allocations: 8.125 kB / 477.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.1099, allocations: 120.9 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1099, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1102, allocations: 20 kB / 477.7 MB, free: 7.57 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.001235/0.1114, allocations: 1.013 MB / 478.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1116, allocations: 67.84 kB / 478.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1116, allocations: 0 / 478.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.1117, allocations: 31.97 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.112, allocations: 12 kB / 478.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1135, allocations: 1.511 MB / 480.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.1137, allocations: 0.6926 MB / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.1138, allocations: 16.05 kB / 481 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.1138, allocations: 23.44 kB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1138, allocations: 0 / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1255, allocations: 2.125 MB / 483.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1258, allocations: 238.9 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.85, allocations: 0 / 483.4 MB, free: 1.957 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches