Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001234/0.001234, allocations: 104 kB / 16.27 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.001077/0.001077, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2356/0.2356, allocations: 43.53 MB / 313.9 MB, free: 0.543 MB / 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.00164/0.00164, allocations: 76.14 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09641, allocations: 57.79 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002777/0.09924, allocations: 1.648 MB / 442.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1003, allocations: 0.7945 MB / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.1004, allocations: 0 / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1007, allocations: 51.81 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1009, allocations: 59.69 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1011, allocations: 75.78 kB / 443.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1013, allocations: 95.69 kB / 443.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1013, allocations: 4.281 kB / 443.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.1014, allocations: 31.86 kB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.1015, allocations: 35.78 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1015, allocations: 0 / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.1016, allocations: 35.98 kB / 443.5 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.1016, allocations: 23.92 kB / 443.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.1017, allocations: 43.61 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1018, allocations: 107.6 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1019, allocations: 7.984 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1019, allocations: 0 / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1019, allocations: 0 / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004077/0.1023, allocations: 438.6 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1023, allocations: 11.89 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.1024, allocations: 34.75 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1024, allocations: 12.84 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1026, allocations: 219.5 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1026, allocations: 8.375 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1026, allocations: 3.938 kB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1027, allocations: 53.61 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1028, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1028, allocations: 4 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1028, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.1029, allocations: 11.98 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1031, allocations: 189.6 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1032, allocations: 58.55 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.1033, allocations: 20.8 kB / 444.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1033, allocations: 7.938 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1035, allocations: 67.39 kB / 444.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.1035, allocations: 0 / 444.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002591/0.1038, allocations: 101.6 kB / 444.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1038, allocations: 51.41 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.104, allocations: 259.7 kB / 445.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.104, allocations: 25.7 kB / 445.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.104, allocations: 116.1 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1041, allocations: 15.75 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1041, allocations: 17.72 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.1042, allocations: 330.8 kB / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.1042, allocations: 19.94 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.1043, allocations: 29.69 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.1044, allocations: 45.7 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1044, allocations: 3.938 kB / 445.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.1045, allocations: 85.44 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.1046, allocations: 4 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1046, allocations: 4.031 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1046, allocations: 0 / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.1047, allocations: 12 kB / 445.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1047, allocations: 0 / 445.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1047, allocations: 3.984 kB / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1048, allocations: 8 kB / 445.9 MB, free: 1.324 MB / 318.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 (7): * Single equations (assignments): 7 * 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.977e-05/0.1048, allocations: 145.6 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.1049, allocations: 11.81 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1049, allocations: 17 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1049, allocations: 7.984 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1049, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1049, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.105, allocations: 197.6 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1051, allocations: 4.297 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.1051, allocations: 4 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1051, allocations: 4 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1051, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1051, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1051, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1053, allocations: 124.8 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.1053, allocations: 81.02 kB / 446.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1054, allocations: 4 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.1054, allocations: 0 / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1054, allocations: 7.984 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1055, allocations: 0 / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1056, allocations: 203.2 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1056, allocations: 0 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1058, allocations: 23.98 kB / 446.7 MB, free: 420 kB / 318.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001275/0.1071, allocations: 0.9551 MB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1073, allocations: 39.92 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1073, allocations: 8.062 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.1074, allocations: 16 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1077, allocations: 37.88 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1096, allocations: 1.643 MB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1099, allocations: 0.7195 MB / 450.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.1099, allocations: 12.53 kB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.11, allocations: 39.42 kB / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.11, allocations: 0 / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1294, allocations: 3.321 MB / 453.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.859, allocations: 19.27 kB / 453.5 MB, free: 9.531 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches