Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.001151/0.001151, allocations: 104.5 kB / 17.63 MB, free: 5.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.001028/0.001028, allocations: 192 kB / 18.56 MB, free: 4.434 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.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1936/0.1936, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.28 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09566, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002662/0.09836, allocations: 1.557 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.09971, allocations: 1.027 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.09978, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.09997, allocations: 15.86 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1002, allocations: 43.78 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1005, allocations: 115.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.1006, allocations: 59.84 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1007, allocations: 4 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.1008, allocations: 27.91 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1009, allocations: 27.86 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1009, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.101, allocations: 51.91 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.1011, allocations: 19.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.1011, allocations: 19.81 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1013, allocations: 88.05 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1013, allocations: 4 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1013, allocations: 0 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1013, allocations: 0 / 472.4 MB, free: 11.2 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.0004299/0.1018, allocations: 375.3 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1018, allocations: 8.031 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1018, allocations: 34.75 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.1019, allocations: 12.84 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.102, allocations: 195 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1021, allocations: 384 / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1021, allocations: 4.375 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1022, allocations: 63.34 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1023, allocations: 3.984 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1023, allocations: 0 / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1023, allocations: 7.938 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.1024, allocations: 23.98 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.1027, allocations: 280.8 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1029, allocations: 46.55 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.103, allocations: 16.86 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.103, allocations: 4 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.103, allocations: 30.56 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.103, allocations: 3.984 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005488/0.1036, allocations: 153.4 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1037, allocations: 77.11 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1038, allocations: 141.8 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1038, allocations: 25.7 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.1039, allocations: 100.1 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.1039, allocations: 7.812 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.104, allocations: 17.72 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1041, allocations: 326.8 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.1042, allocations: 23.92 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.1042, allocations: 33.7 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1044, allocations: 57.02 kB / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1044, allocations: 3.984 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.1046, allocations: 81.58 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1046, allocations: 4 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1046, allocations: 4 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1046, allocations: 0 / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1047, allocations: 19.95 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1047, allocations: 0 / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.1048, allocations: 4 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1048, allocations: 11.88 kB / 474.6 MB, free: 8.793 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.507e-05/0.1049, allocations: 117.8 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1049, allocations: 3.906 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1052, allocations: 101.6 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1052, allocations: 0 / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1052, allocations: 0 / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1052, allocations: 0 / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.1056, allocations: 358.4 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1056, allocations: 3.938 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.1057, allocations: 8 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1057, allocations: 4 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1057, allocations: 4 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1057, allocations: 3.938 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1057, allocations: 0 / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.106, allocations: 191.5 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.106, allocations: 81.02 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.106, allocations: 3.984 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1061, allocations: 11.94 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1062, allocations: 4 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1062, allocations: 4 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.1062, allocations: 107.2 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1063, allocations: 0 / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1065, allocations: 20 kB / 475.6 MB, free: 7.68 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.001292/0.1078, allocations: 1.048 MB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.108, allocations: 59.95 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.108, allocations: 0 / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.1081, allocations: 27.92 kB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1085, allocations: 27.45 kB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1099, allocations: 1.4 MB / 478.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1102, allocations: 0.6924 MB / 478.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.1102, allocations: 20.05 kB / 478.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.1103, allocations: 19.42 kB / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1103, allocations: 0 / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1301, allocations: 2.692 MB / 481.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.902, allocations: 9.781 kB / 481.6 MB, free: 1.805 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches