Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001145/0.001145, allocations: 103 kB / 16.27 MB, free: 5.93 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.001053/0.001053, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.457/1.457, 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.2213/0.2213, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001406/0.001406, allocations: 71.44 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09739, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002829/0.1003, allocations: 1.833 MB / 442.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1014, allocations: 0.9052 MB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.1014, allocations: 3.938 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1018, allocations: 227.4 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1021, allocations: 163.5 kB / 443.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1024, allocations: 154.9 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1026, allocations: 219.4 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1027, allocations: 29.48 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1028, allocations: 111.6 kB / 444.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.103, allocations: 151.5 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.103, allocations: 8 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1031, allocations: 43.98 kB / 444.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1032, allocations: 47.78 kB / 444.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1032, allocations: 87.34 kB / 444.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1034, allocations: 203.3 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1034, allocations: 4 kB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1034, allocations: 0 / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1034, allocations: 0 / 444.8 MB, free: 2.621 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.0005075/0.104, allocations: 0.5408 MB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.104, allocations: 11.89 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.104, allocations: 34.75 kB / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1041, allocations: 32.55 kB / 445.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1043, allocations: 280.1 kB / 445.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1043, allocations: 8.375 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1044, allocations: 7.938 kB / 445.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1045, allocations: 103.3 kB / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1046, allocations: 0 / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1046, allocations: 0 / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1046, allocations: 4 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1047, allocations: 39.91 kB / 445.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1051, allocations: 449 kB / 446.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1053, allocations: 109.3 kB / 446.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.1054, allocations: 49.64 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1054, allocations: 0 / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1056, allocations: 113 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1056, allocations: 7.984 kB / 446.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007307/0.1064, allocations: 372.6 kB / 446.9 MB, free: 288 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1064, allocations: 81.05 kB / 447 MB, free: 188 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1068, allocations: 432.4 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1068, allocations: 29.7 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.1069, allocations: 152.4 kB / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1069, allocations: 55.28 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.107, allocations: 33.7 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1071, allocations: 346.8 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1072, allocations: 47.94 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1073, allocations: 72.55 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1075, allocations: 119.4 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1076, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003001/0.1079, allocations: 177.2 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1079, allocations: 8 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1079, allocations: 4.062 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1079, allocations: 3.984 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.108, allocations: 35.92 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1081, allocations: 3.938 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.1081, allocations: 15.97 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1082, allocations: 8.312 kB / 448.5 MB, free: 14.61 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.0001295/0.1083, allocations: 161.8 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1083, allocations: 27.72 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.1084, allocations: 34.61 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1084, allocations: 7.938 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1084, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1084, allocations: 3.984 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.1091, allocations: 0.6241 MB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1091, allocations: 4 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1092, allocations: 19.92 kB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1092, allocations: 4 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1092, allocations: 8 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1092, allocations: 0 / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1092, allocations: 3.984 kB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1096, allocations: 364.1 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1097, allocations: 104.8 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1097, allocations: 11.94 kB / 449.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1099, allocations: 8 kB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1099, allocations: 19.97 kB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1099, allocations: 4 kB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.1102, allocations: 319 kB / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1102, allocations: 0 / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000327/0.1105, allocations: 39.98 kB / 450.3 MB, free: 12.74 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.001527/0.1121, allocations: 1.255 MB / 451.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.1124, allocations: 123.8 kB / 451.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1124, allocations: 0 / 451.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1125, allocations: 59.91 kB / 451.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.1131, allocations: 64.8 kB / 451.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.1158, allocations: 2.649 MB / 454.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1161, allocations: 0.767 MB / 455.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.993e-05/0.1162, allocations: 33.91 kB / 455.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1163, allocations: 83.41 kB / 455.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1163, allocations: 3.938 kB / 455.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.1375, allocations: 5.647 MB / 460.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.521, allocations: 4 kB / 460.9 MB, free: 1.938 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches