Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.00145/0.00145, allocations: 109.8 kB / 16.41 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.001317/0.001317, allocations: 187 kB / 17.34 MB, free: 5.629 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1924/0.1924, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001376/0.001376, allocations: 67.91 kB / 441.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09067, allocations: 57.78 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003067/0.09378, allocations: 1.856 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.09517, allocations: 0.8974 MB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.09529, allocations: 4 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.09573, allocations: 215.4 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.09607, allocations: 171.4 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.09646, allocations: 147.6 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.09676, allocations: 239.3 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.09687, allocations: 13.55 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.09705, allocations: 111.6 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.09725, allocations: 151.5 kB / 0.4912 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.09729, allocations: 8 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.09741, allocations: 47.97 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.0975, allocations: 55.83 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.0976, allocations: 87.28 kB / 0.4914 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.09791, allocations: 211 kB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09792, allocations: 0 / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09793, allocations: 0 / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09794, allocations: 0 / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007076/0.09865, allocations: 0.5484 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.0987, allocations: 11.89 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.09876, allocations: 42.69 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.09882, allocations: 28.75 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.0992, allocations: 284.3 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.09922, allocations: 8.375 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.09925, allocations: 11.92 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.09948, allocations: 91.36 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.0995, allocations: 0 / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.09952, allocations: 7.938 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09953, allocations: 7.984 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.09965, allocations: 35.98 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1001, allocations: 445 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1004, allocations: 117.3 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.1005, allocations: 41.69 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1005, allocations: 7.938 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.1007, allocations: 113 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1008, allocations: 0 / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008479/0.1016, allocations: 380.5 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1017, allocations: 85.05 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.102, allocations: 424.5 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1021, allocations: 37.69 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.1022, allocations: 152.4 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.1022, allocations: 59.55 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.1023, allocations: 29.72 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1024, allocations: 346.8 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1025, allocations: 39.98 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1026, allocations: 74.84 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1028, allocations: 115.4 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1029, allocations: 0 / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003059/0.1032, allocations: 193.5 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1032, allocations: 4 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1032, allocations: 0 / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1032, allocations: 4 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1034, allocations: 35.98 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1034, allocations: 4 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.1035, allocations: 11.98 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1035, allocations: 7.938 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001353/0.1036, allocations: 165.8 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.1037, allocations: 31.77 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.1037, allocations: 34.62 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1038, allocations: 3.938 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1038, allocations: 4 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1038, allocations: 4 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.1044, allocations: 0.6203 MB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1044, allocations: 0 / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.1045, allocations: 19.98 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1045, allocations: 3.938 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1045, allocations: 8.062 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1045, allocations: 4.75 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1045, allocations: 4 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1049, allocations: 364.2 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.105, allocations: 100.9 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.105, allocations: 15.98 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1052, allocations: 8 kB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1052, allocations: 19.92 kB / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1053, allocations: 11.98 kB / 0.4966 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1055, allocations: 315 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1055, allocations: 0 / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.1059, allocations: 35.98 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001488/0.1074, allocations: 1.271 MB / 0.4982 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.1077, allocations: 116 kB / 0.4983 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1077, allocations: 0 / 0.4983 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1078, allocations: 64.2 kB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.1083, allocations: 53.25 kB / 0.4984 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.1112, allocations: 2.64 MB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1115, allocations: 0.7632 MB / 0.5017 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.331e-05/0.1116, allocations: 34.08 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1117, allocations: 79.41 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1117, allocations: 0 / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1324, allocations: 5.747 MB / 0.5074 GB, free: 7.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.76, allocations: 4.062 kB / 0.5074 GB, free: 7.203 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches