Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001021/0.001021, allocations: 104.3 kB / 16.4 MB, free: 6.512 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.001025/0.001025, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1903/0.1903, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.001532/0.001532, allocations: 77.47 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.1008, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003504/0.1044, allocations: 1.931 MB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1061, allocations: 0.9598 MB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1063, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.1069, allocations: 215.3 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.1074, allocations: 155.4 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.1079, allocations: 195.5 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.1083, allocations: 259.3 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1084, allocations: 21.67 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1086, allocations: 111.6 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1087, allocations: 103.5 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1088, allocations: 12 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1089, allocations: 55.97 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.109, allocations: 59.75 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.1091, allocations: 79.48 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.1095, allocations: 235 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1095, allocations: 0 / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1095, allocations: 4 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1095, allocations: 0 / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008563/0.1104, allocations: 0.5464 MB / 0.4923 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1104, allocations: 11.89 kB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1105, allocations: 46.73 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.1105, allocations: 20.8 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1109, allocations: 291.8 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1109, allocations: 4.312 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1109, allocations: 11.94 kB / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1112, allocations: 104.2 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1112, allocations: 0 / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1112, allocations: 0 / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1112, allocations: 4 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1114, allocations: 47.91 kB / 0.4928 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1119, allocations: 373.6 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1122, allocations: 125.2 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.1123, allocations: 37.7 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1123, allocations: 4 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1125, allocations: 113 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1126, allocations: 7.938 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004599/0.113, allocations: 177.5 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1131, allocations: 110.7 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1134, allocations: 334.9 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1135, allocations: 29.7 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.1136, allocations: 136.1 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.1136, allocations: 35.78 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.1137, allocations: 41.64 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1138, allocations: 334.8 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.1139, allocations: 35.97 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.114, allocations: 73.08 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1142, allocations: 103.9 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1142, allocations: 4 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002743/0.1145, allocations: 137.5 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1145, allocations: 8 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1146, allocations: 0 / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1146, allocations: 4 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1147, allocations: 27.98 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1147, allocations: 4 kB / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/0.1148, allocations: 19.88 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1148, allocations: 4 kB / 0.495 GB, free: 4.188 MB / 382.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001264/0.115, allocations: 153.7 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.115, allocations: 27.8 kB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.1151, allocations: 25.73 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.1151, allocations: 4 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1151, allocations: 3.938 kB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1151, allocations: 7.938 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1153, allocations: 253.4 kB / 0.4954 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1153, allocations: 4 kB / 0.4954 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1154, allocations: 8 kB / 0.4954 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1154, allocations: 4 kB / 0.4954 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1154, allocations: 0 / 0.4954 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1154, allocations: 0 / 0.4954 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1154, allocations: 4 kB / 0.4954 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1157, allocations: 185.7 kB / 0.4956 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1158, allocations: 93.09 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1159, allocations: 12 kB / 0.4957 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.1159, allocations: 7.984 kB / 0.4957 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.116, allocations: 15.92 kB / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.116, allocations: 4 kB / 0.4957 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.1163, allocations: 245.9 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.494e-06/0.1163, allocations: 4 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1165, allocations: 43.86 kB / 0.496 GB, free: 3.008 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001451/0.118, allocations: 1.024 MB / 0.497 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1183, allocations: 95.89 kB / 0.4971 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1183, allocations: 0 / 0.4971 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1184, allocations: 47.92 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1188, allocations: 68.53 kB / 0.4972 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1214, allocations: 2.294 MB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1217, allocations: 0.7437 MB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1218, allocations: 33.92 kB / 0.5002 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1219, allocations: 63.42 kB / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1219, allocations: 4 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.145, allocations: 5.629 MB / 0.5058 GB, free: 8.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.311, allocations: 15.98 kB / 0.5058 GB, free: 8.863 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches