Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001224/0.001224, allocations: 104.2 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.001215/0.001215, allocations: 191.9 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.316/1.316, 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.2027/0.2027, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.2 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09703, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00323/0.1003, allocations: 1.793 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1024, allocations: 1.561 MB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.1025, allocations: 0 / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1028, allocations: 51.7 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1031, allocations: 87.53 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1036, allocations: 175 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1039, allocations: 179.5 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.1039, allocations: 17.55 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1041, allocations: 75.64 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1043, allocations: 78.28 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.1044, allocations: 8 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.1046, allocations: 63.92 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1046, allocations: 31.89 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.1047, allocations: 59.56 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.105, allocations: 167.8 kB / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1051, allocations: 0 / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1051, allocations: 0 / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1051, allocations: 0 / 473.7 MB, free: 9.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000795/0.1059, allocations: 481.5 kB / 474.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1059, allocations: 8.031 kB / 474.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.106, allocations: 38.73 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.106, allocations: 12.84 kB / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1064, allocations: 243.8 kB / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1064, allocations: 384 / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1064, allocations: 7.938 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1067, allocations: 109.1 kB / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1067, allocations: 0 / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1067, allocations: 3.938 kB / 474.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1067, allocations: 0 / 474.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1068, allocations: 31.97 kB / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.1071, allocations: 210.5 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.1074, allocations: 117.1 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.1075, allocations: 37.7 kB / 475 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1075, allocations: 3.984 kB / 475 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.1078, allocations: 113 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1078, allocations: 0 / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000429/0.1082, allocations: 161.4 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.1083, allocations: 132.5 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1086, allocations: 219.7 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1086, allocations: 29.7 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.1087, allocations: 112.1 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.1087, allocations: 31.55 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1088, allocations: 29.72 kB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1089, allocations: 330.8 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.109, allocations: 27.98 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1091, allocations: 71.62 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1093, allocations: 91.86 kB / 476.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1093, allocations: 7.875 kB / 476.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002737/0.1096, allocations: 141.4 kB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1096, allocations: 4 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1096, allocations: 0 / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1096, allocations: 4 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1097, allocations: 19.98 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1097, allocations: 4 kB / 476.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1099, allocations: 7.984 kB / 476.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1099, allocations: 8 kB / 476.5 MB, free: 6.816 MB / 350.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001189/0.11, allocations: 137.8 kB / 476.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1101, allocations: 19.8 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.1101, allocations: 13 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1101, allocations: 0 / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1101, allocations: 4 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1101, allocations: 3.984 kB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1103, allocations: 221.4 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1103, allocations: 0 / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1103, allocations: 8 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1104, allocations: 0 / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1104, allocations: 3.984 kB / 476.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1104, allocations: 8.125 kB / 476.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1104, allocations: 4 kB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1107, allocations: 169.6 kB / 477.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1107, allocations: 88.95 kB / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1108, allocations: 4 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.1108, allocations: 11.98 kB / 477.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1109, allocations: 11.98 kB / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1109, allocations: 7.938 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1111, allocations: 152.2 kB / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1111, allocations: 0 / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1113, allocations: 43.98 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001537/0.1129, allocations: 1.059 MB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1132, allocations: 79.97 kB / 478.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1132, allocations: 4.062 kB / 478.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1133, allocations: 39.92 kB / 478.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1137, allocations: 53.33 kB / 478.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.1157, allocations: 1.823 MB / 480.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.116, allocations: 0.7164 MB / 481.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.785e-05/0.1161, allocations: 38.02 kB / 481.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.1162, allocations: 55.41 kB / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1162, allocations: 0 / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.1369, allocations: 4.598 MB / 485.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.444, allocations: 4.688 kB / 485.8 MB, free: 13.46 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches