Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",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.001442/0.001442, allocations: 99.89 kB / 16.4 MB, free: 6.406 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.001306/0.001306, allocations: 193.3 kB / 17.34 MB, free: 5.691 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.602/1.602, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2274/0.2274, allocations: 43.54 MB / 314.1 MB, free: 448 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.002097/0.002097, allocations: 65.45 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1038, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001356/0.1052, allocations: 497.9 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006788/0.1059, allocations: 301.9 kB / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1059, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.1059, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.1059, allocations: 0 / 499.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.1067, allocations: 94.36 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.1067, allocations: 4 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.998e-05/0.1068, allocations: 7.984 kB / 500 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.1068, allocations: 3.938 kB / 500 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.1068, allocations: 0 / 500 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-06/0.1068, allocations: 0 / 500 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.107, allocations: 111.9 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.107, allocations: 7.922 kB / 0.4884 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.107, allocations: 0 / 0.4884 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1072, allocations: 87.81 kB / 0.4884 GB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1072, allocations: 0 / 0.4884 GB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1072, allocations: 0 / 0.4884 GB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1072, allocations: 0 / 0.4884 GB, free: 11.24 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.0003536/0.1076, allocations: 361.1 kB / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1076, allocations: 15.83 kB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.1076, allocations: 30.75 kB / 0.4888 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.1077, allocations: 16.83 kB / 0.4888 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1078, allocations: 164.4 kB / 0.489 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1078, allocations: 384 / 0.489 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1078, allocations: 384 / 0.489 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.1079, allocations: 30.27 kB / 0.489 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1079, allocations: 3.938 kB / 0.489 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1079, allocations: 3.984 kB / 0.489 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1079, allocations: 0 / 0.489 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.1079, allocations: 0 / 0.489 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1081, allocations: 157.7 kB / 0.4892 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.1081, allocations: 18.52 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1081, allocations: 4.859 kB / 0.4892 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.1082, allocations: 0 / 0.4892 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1082, allocations: 60.33 kB / 0.4893 GB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1082, allocations: 0 / 0.4893 GB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.1084, allocations: 71.33 kB / 0.4893 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1084, allocations: 85.17 kB / 0.4894 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/0.1085, allocations: 89.86 kB / 0.4895 GB, free: 9.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1085, allocations: 25.7 kB / 0.4895 GB, free: 9.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1085, allocations: 80.14 kB / 0.4896 GB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.1085, allocations: 0 / 0.4896 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1086, allocations: 13.72 kB / 0.4896 GB, free: 9.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1087, allocations: 310.8 kB / 0.4899 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.1087, allocations: 0 / 0.4899 GB, free: 9.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.1087, allocations: 12 kB / 0.4899 GB, free: 9.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.1088, allocations: 60.25 kB / 0.49 GB, free: 9.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1088, allocations: 4 kB / 0.49 GB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.689e-05/0.1089, allocations: 59.41 kB / 0.49 GB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.1089, allocations: 33.7 kB / 0.4901 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1089, allocations: 7.875 kB / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1089, allocations: 3.938 kB / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.109, allocations: 0 / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.109, allocations: 96 / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.109, allocations: 11.92 kB / 0.4901 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.109, allocations: 3.938 kB / 0.4901 GB, free: 9.254 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 8.277e-05/0.1091, allocations: 143.5 kB / 0.4902 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.1091, allocations: 0 / 0.4902 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.1091, allocations: 7.062 kB / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.1091, allocations: 0 / 0.4902 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1091, allocations: 4 kB / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1091, allocations: 0 / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.1092, allocations: 145.7 kB / 0.4904 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1092, allocations: 4 kB / 0.4904 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1093, allocations: 0 / 0.4904 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1093, allocations: 0 / 0.4904 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1093, allocations: 7.938 kB / 0.4904 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1093, allocations: 0 / 0.4904 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1093, allocations: 0 / 0.4904 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1094, allocations: 98.75 kB / 0.4905 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1094, allocations: 77.14 kB / 0.4906 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1094, allocations: 7.938 kB / 0.4906 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.1095, allocations: 0 / 0.4906 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.1095, allocations: 0 / 0.4906 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1095, allocations: 4 kB / 0.4906 GB, free: 8.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.1095, allocations: 75.28 kB / 0.4906 GB, free: 8.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1095, allocations: 0 / 0.4906 GB, free: 8.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1098, allocations: 35.92 kB / 0.4907 GB, free: 8.543 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.0008612/0.1106, allocations: 0.7924 MB / 0.4915 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.1107, allocations: 67.27 kB / 0.4915 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1107, allocations: 0 / 0.4915 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.1108, allocations: 55.47 kB / 0.4916 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.1109, allocations: 4.062 kB / 0.4916 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1112, allocations: 126.4 kB / 0.4917 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1115, allocations: 0.6729 MB / 0.4924 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.518e-06/0.1115, allocations: 0 / 0.4924 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/0.1115, allocations: 7.438 kB / 0.4924 GB, free: 6.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1115, allocations: 0 / 0.4924 GB, free: 6.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.1491, allocations: 1.819 MB / 0.4941 GB, free: 4.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.874/10.02, allocations: 11.2 kB / 0.4941 GB, free: 4.875 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches