Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.00102/0.00102, allocations: 112.8 kB / 16.41 MB, free: 6.488 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.001126/0.001126, allocations: 190.1 kB / 17.34 MB, free: 5.762 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.223/1.223, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1944/0.1944, allocations: 43.53 MB / 314.1 MB, free: 460 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.001375/0.001375, allocations: 67.91 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09882, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002823/0.1017, allocations: 1.778 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1037, allocations: 1.488 MB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1037, allocations: 4 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1041, allocations: 59.67 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1043, allocations: 91.53 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1047, allocations: 143.7 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1049, allocations: 179.4 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.105, allocations: 9.547 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1051, allocations: 83.62 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1053, allocations: 75.28 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1053, allocations: 8 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1054, allocations: 63.97 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1055, allocations: 27.91 kB / 0.4914 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.1056, allocations: 67.55 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1059, allocations: 167.3 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1059, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1059, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1059, allocations: 0 / 0.4916 GB, free: 8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006279/0.1065, allocations: 474.3 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1066, allocations: 15.83 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.1066, allocations: 38.75 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.1067, allocations: 20.83 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.107, allocations: 243.8 kB / 0.4923 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.107, allocations: 4.375 kB / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.107, allocations: 3.938 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1073, allocations: 105 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1073, allocations: 0 / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1073, allocations: 0 / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1073, allocations: 8 kB / 0.4925 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1074, allocations: 35.95 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1076, allocations: 214.5 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1079, allocations: 117 kB / 0.4928 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.108, allocations: 37.7 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1081, allocations: 4 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.1083, allocations: 101 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1083, allocations: 4 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004383/0.1087, allocations: 173.8 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.1088, allocations: 132.5 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1091, allocations: 211.8 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1091, allocations: 25.7 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1092, allocations: 116.1 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1092, allocations: 31.73 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1093, allocations: 25.72 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1094, allocations: 334.8 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.1095, allocations: 27.98 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1096, allocations: 69.2 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1098, allocations: 91.38 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1098, allocations: 3.938 kB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.1101, allocations: 137.5 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1101, allocations: 8 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1101, allocations: 0 / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1101, allocations: 0 / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1102, allocations: 23.98 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1102, allocations: 4.062 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.1103, allocations: 11.94 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1104, allocations: 8 kB / 0.4943 GB, free: 4.875 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001145/0.1105, allocations: 137.7 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1105, allocations: 15.91 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1106, allocations: 20.98 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1106, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1106, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1106, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1108, allocations: 225.5 kB / 0.4947 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1108, allocations: 128 / 0.4947 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1108, allocations: 12 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1108, allocations: 0 / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1108, allocations: 4 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1109, allocations: 3.938 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1109, allocations: 0 / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1112, allocations: 185.7 kB / 0.4949 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.1112, allocations: 85.06 kB / 0.495 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1113, allocations: 0 / 0.495 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1113, allocations: 12.08 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1114, allocations: 11.88 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1114, allocations: 7.984 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1116, allocations: 161.5 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1118, allocations: 47.88 kB / 0.4952 GB, free: 3.863 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001506/0.1134, allocations: 1.047 MB / 0.4962 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1136, allocations: 79.91 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1137, allocations: 3.938 kB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1138, allocations: 39.92 kB / 0.4963 GB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1142, allocations: 55.33 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1164, allocations: 1.816 MB / 0.4982 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1167, allocations: 0.7203 MB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1168, allocations: 37.45 kB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.1169, allocations: 51.41 kB / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.117, allocations: 3.938 kB / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1381, allocations: 4.687 MB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.39, allocations: 8 kB / 0.5036 GB, free: 11.13 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches