Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.001294/0.001295, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001379/0.001379, allocations: 189.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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2159/0.2159, allocations: 43.52 MB / 314.1 MB, free: 456 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.001997/0.001997, allocations: 73.45 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001705/0.1092, allocations: 498.8 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1115, allocations: 1.271 MB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.1115, allocations: 0 / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.1115, allocations: 0 / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1118, allocations: 4 kB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.113, allocations: 265.3 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.1131, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.1131, allocations: 7.984 kB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.1132, allocations: 3.938 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.1132, allocations: 8 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1133, allocations: 0 / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.1174, allocations: 0.6763 MB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1174, allocations: 0 / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.1174, allocations: 7.938 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1178, allocations: 183.5 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1178, allocations: 4 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1178, allocations: 0 / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1178, allocations: 0 / 0.4902 GB, free: 9.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005792/0.1184, allocations: 396.2 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1184, allocations: 11.89 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.1185, allocations: 30.75 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1185, allocations: 8.938 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1187, allocations: 164.4 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1187, allocations: 4.375 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1187, allocations: 4.359 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.1188, allocations: 37.58 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1188, allocations: 0 / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1188, allocations: 0 / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1188, allocations: 0 / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.1189, allocations: 4 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.119, allocations: 149.6 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.1191, allocations: 26.61 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.1191, allocations: 4.859 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1191, allocations: 3.938 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.1192, allocations: 60.2 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1192, allocations: 4.062 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.1194, allocations: 63.39 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1195, allocations: 81.11 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.1195, allocations: 97.98 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1196, allocations: 25.7 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.1196, allocations: 80.14 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1196, allocations: 3.953 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1197, allocations: 17.7 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1198, allocations: 314.8 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1198, allocations: 3.938 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.1199, allocations: 7.953 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.1199, allocations: 60.45 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1199, allocations: 4 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.387e-05/0.12, allocations: 67.33 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1201, allocations: 33.7 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1201, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1201, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1201, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1201, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.1201, allocations: 4 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1202, allocations: 4.031 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.212e-05/0.1203, allocations: 135.5 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1203, allocations: 11.92 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.1203, allocations: 3.125 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1203, allocations: 0 / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1203, allocations: 7.938 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1203, allocations: 0 / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1204, allocations: 149.7 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.1205, allocations: 3.938 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1205, allocations: 4 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1205, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1205, allocations: 4 kB / 0.4922 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1205, allocations: 0 / 0.4922 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1205, allocations: 0 / 0.4922 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1206, allocations: 98.84 kB / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1207, allocations: 81.05 kB / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1207, allocations: 0 / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.1207, allocations: 7.969 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1207, allocations: 0 / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1207, allocations: 4 kB / 0.4924 GB, free: 6.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.1208, allocations: 75.28 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1208, allocations: 0 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1211, allocations: 63.8 kB / 0.4925 GB, free: 6.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001153/0.1223, allocations: 0.8549 MB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1224, allocations: 71.39 kB / 0.4934 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1224, allocations: 0 / 0.4934 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.1225, allocations: 51.41 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1226, allocations: 11.88 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.123, allocations: 150.3 kB / 0.4936 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1233, allocations: 0.6729 MB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.366e-06/0.1234, allocations: 0 / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.1234, allocations: 11.44 kB / 0.4943 GB, free: 4.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1234, allocations: 0 / 0.4943 GB, free: 4.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.1492, allocations: 2.52 MB / 0.4968 GB, free: 2.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.646, allocations: 3.984 kB / 0.4968 GB, free: 2.191 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches