Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.00111/0.00111, allocations: 98.56 kB / 16.26 MB, free: 5.961 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.001376/0.001376, allocations: 192.9 kB / 17.2 MB, free: 5.594 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.491/1.491, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2317/0.2317, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001556/0.001556, allocations: 71.34 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003507/0.1063, allocations: 1.894 MB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1074, allocations: 0.8428 MB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1075, allocations: 7.938 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.1078, allocations: 43.7 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.108, allocations: 59.69 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1083, allocations: 103.7 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1085, allocations: 135.6 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1086, allocations: 29.42 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.1087, allocations: 59.7 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.1087, allocations: 47.72 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1088, allocations: 8 kB / 443.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1089, allocations: 44 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.1089, allocations: 31.89 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.109, allocations: 43.69 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1092, allocations: 147.5 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1092, allocations: 0 / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1092, allocations: 4 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.1092, allocations: 0 / 444.1 MB, free: 3.281 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004902/0.1097, allocations: 480.5 kB / 444.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1098, allocations: 11.89 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.1098, allocations: 42.73 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1098, allocations: 16.75 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.11, allocations: 220 kB / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.11, allocations: 384 / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1101, allocations: 27.83 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1103, allocations: 103.7 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1103, allocations: 0 / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1103, allocations: 8 kB / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1103, allocations: 3.984 kB / 445 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1104, allocations: 47.91 kB / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1109, allocations: 0.5048 MB / 445.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1112, allocations: 94.59 kB / 445.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.1112, allocations: 36.84 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1113, allocations: 4 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.1114, allocations: 91.23 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1115, allocations: 0 / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003315/0.1118, allocations: 149.4 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1118, allocations: 51.41 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.112, allocations: 195.4 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.112, allocations: 29.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.112, allocations: 116 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1121, allocations: 23.66 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1121, allocations: 33.61 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1121, allocations: 326.8 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.1122, allocations: 27.98 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.1123, allocations: 71.89 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1125, allocations: 100.1 kB / 446.9 MB, free: 244 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1125, allocations: 4 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002167/0.1127, allocations: 133.8 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1127, allocations: 4 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1127, allocations: 0 / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1128, allocations: 12.16 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.1128, allocations: 23.92 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1129, allocations: 4 kB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.1129, allocations: 7.906 kB / 447.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1129, allocations: 7.938 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001129/0.1131, allocations: 129.8 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1131, allocations: 15.81 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1132, allocations: 17.41 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1132, allocations: 7.938 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1132, allocations: 4 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1132, allocations: 0 / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1134, allocations: 213.5 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1134, allocations: 3.984 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.1135, allocations: 8 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1135, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1135, allocations: 4 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1135, allocations: 7.875 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1135, allocations: 3.938 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.1139, allocations: 184.8 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1139, allocations: 85.05 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.114, allocations: 4 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.114, allocations: 11.92 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1141, allocations: 4 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1141, allocations: 11.98 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1142, allocations: 137.3 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1142, allocations: 0 / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1145, allocations: 36.02 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001401/0.1159, allocations: 1.004 MB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1161, allocations: 95.77 kB / 449 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1161, allocations: 0 / 449 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.1162, allocations: 31.98 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1165, allocations: 45.88 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1185, allocations: 1.73 MB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1188, allocations: 0.72 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.1189, allocations: 21.41 kB / 451.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.1189, allocations: 39.42 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1189, allocations: 0 / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.1423, allocations: 3.69 MB / 455.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.838, allocations: 7.938 kB / 455.3 MB, free: 7.594 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches