Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.00138/0.00138, allocations: 103.5 kB / 16.27 MB, free: 5.973 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.002663/0.002663, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.497/1.497, 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.2407/0.2407, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001444/0.001444, allocations: 72.58 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.0982, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002566/0.1008, allocations: 1.837 MB / 442.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1019, allocations: 0.8935 MB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.102, allocations: 4 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1023, allocations: 259.4 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1026, allocations: 179.4 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1029, allocations: 155.2 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1031, allocations: 235.4 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1032, allocations: 25.44 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1034, allocations: 123.6 kB / 444.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1035, allocations: 179.5 kB / 444.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1035, allocations: 4 kB / 444.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.1036, allocations: 55.92 kB / 444.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.1037, allocations: 55.77 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1038, allocations: 83.36 kB / 444.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.104, allocations: 223.2 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.104, allocations: 0 / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.104, allocations: 0 / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.104, allocations: 3.938 kB / 444.9 MB, free: 2.504 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005149/0.1045, allocations: 0.5525 MB / 445.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1046, allocations: 11.89 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.1046, allocations: 38.75 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1046, allocations: 32.55 kB / 445.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1049, allocations: 287.9 kB / 445.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1049, allocations: 8.375 kB / 445.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1049, allocations: 7.938 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1051, allocations: 103.3 kB / 445.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1051, allocations: 0 / 445.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1052, allocations: 3.984 kB / 445.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1052, allocations: 4 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1053, allocations: 47.91 kB / 446 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1056, allocations: 444.9 kB / 446.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1059, allocations: 121.3 kB / 446.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.106, allocations: 37.7 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.106, allocations: 4 kB / 446.6 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1062, allocations: 121 kB / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1062, allocations: 0 / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007387/0.107, allocations: 379.8 kB / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.107, allocations: 84.98 kB / 447.2 MB, free: 20 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.1075, allocations: 485.6 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1075, allocations: 25.7 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.1076, allocations: 168.3 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.1076, allocations: 51.38 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1077, allocations: 37.64 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1078, allocations: 346.8 kB / 448.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.1079, allocations: 43.92 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.108, allocations: 72.61 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1082, allocations: 119.4 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1083, allocations: 0 / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000298/0.1086, allocations: 185.1 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1086, allocations: 8 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1086, allocations: 0 / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1086, allocations: 4.062 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1087, allocations: 39.86 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1088, allocations: 0 / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.1088, allocations: 8 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1089, allocations: 8 kB / 448.7 MB, free: 14.39 MB / 334.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.000141/0.109, allocations: 173.7 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1091, allocations: 31.62 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.1091, allocations: 39.12 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1091, allocations: 7.938 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1092, allocations: 4 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1092, allocations: 0 / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.1098, allocations: 0.6281 MB / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1099, allocations: 0 / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.1099, allocations: 20.73 kB / 449.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1099, allocations: 4.062 kB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1099, allocations: 8 kB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.11, allocations: 11.92 kB / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.11, allocations: 0 / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1103, allocations: 368 kB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1104, allocations: 108.7 kB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.1104, allocations: 8 kB / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1106, allocations: 4 kB / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.1106, allocations: 19.97 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1106, allocations: 4 kB / 450.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.1109, allocations: 355.1 kB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1109, allocations: 0 / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1113, allocations: 43.98 kB / 450.5 MB, free: 12.46 MB / 334.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.001507/0.1128, allocations: 1.267 MB / 451.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1131, allocations: 127.8 kB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1131, allocations: 0 / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.1132, allocations: 56.17 kB / 452 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.1138, allocations: 59.98 kB / 452 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1166, allocations: 2.769 MB / 454.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.117, allocations: 0.7825 MB / 455.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.1171, allocations: 29.92 kB / 455.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1172, allocations: 87.41 kB / 455.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1172, allocations: 0 / 455.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1382, allocations: 5.872 MB / 461.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.558, allocations: 7.844 kB / 461.6 MB, free: 1.305 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches