Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001101/0.001101, 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.001168/0.001168, 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.422/1.422, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2131/0.2131, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 69.8 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09385, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002935/0.09683, allocations: 1.704 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.09822, allocations: 0.8808 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.09831, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.09858, allocations: 51.73 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.09881, allocations: 59.77 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.0991, allocations: 115.6 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.09926, allocations: 91.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.09936, allocations: 8.234 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.09946, allocations: 47.77 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.09954, allocations: 27.8 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.09957, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.09967, allocations: 43.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.09974, allocations: 31.91 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.0998, allocations: 43.62 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.09998, allocations: 123.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1, allocations: 8 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1, allocations: 0 / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1, allocations: 0 / 472.6 MB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005206/0.1005, allocations: 438.7 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1006, allocations: 11.97 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.1006, allocations: 34.73 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1007, allocations: 20.75 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1009, allocations: 216 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1009, allocations: 4.375 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1009, allocations: 3.938 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1011, allocations: 57.66 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1011, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1011, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1011, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.1012, allocations: 19.92 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1015, allocations: 296.9 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1017, allocations: 58.67 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1018, allocations: 20.84 kB / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1018, allocations: 0 / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.102, allocations: 79.33 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.102, allocations: 0 / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.1026, allocations: 181 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1026, allocations: 59.39 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1028, allocations: 266.9 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1029, allocations: 29.7 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1029, allocations: 112.1 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.103, allocations: 23.72 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.103, allocations: 25.7 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.1031, allocations: 326.8 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.1032, allocations: 15.98 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.1033, allocations: 37.7 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1034, allocations: 61.59 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1034, allocations: 4 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1036, allocations: 109.5 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1036, allocations: 4.188 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1036, allocations: 4 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1036, allocations: 7.875 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1037, allocations: 12 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1037, allocations: 3.984 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1038, allocations: 11.88 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1038, allocations: 4 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 9.673e-05/0.1039, allocations: 137.9 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1039, allocations: 11.81 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.104, allocations: 21.39 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.104, allocations: 0 / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.104, allocations: 0 / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.104, allocations: 7.938 kB / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.1044, allocations: 399.3 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1044, allocations: 8.016 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1045, allocations: 11.94 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1045, allocations: 3.938 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1045, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1045, allocations: 4 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1045, allocations: 0 / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1047, allocations: 204.2 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.1048, allocations: 96.91 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1048, allocations: 8.312 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1049, allocations: 4 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1049, allocations: 11.98 kB / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.105, allocations: 4 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1051, allocations: 200.2 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.1051, allocations: 0 / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1054, allocations: 23.94 kB / 476.2 MB, free: 7.012 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001347/0.1067, allocations: 1.105 MB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1069, allocations: 71.89 kB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1069, allocations: 0 / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.107, allocations: 27.94 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1074, allocations: 27.97 kB / 477.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1091, allocations: 1.802 MB / 479.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1094, allocations: 0.7157 MB / 480 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.1095, allocations: 16.88 kB / 480 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1095, allocations: 43.42 kB / 480 MB, free: 3.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1095, allocations: 0 / 480 MB, free: 3.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1288, allocations: 3.621 MB / 483.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.739, allocations: 7.984 kB / 483.7 MB, free: 15.7 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches