Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007796/0.0007796, allocations: 89.48 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0005022/0.1203, allocations: 224.4 kB / 491.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005416/0.1209, allocations: 273 kB / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.1209, allocations: 0 / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.636e-06/0.1209, allocations: 0 / 491.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1209, allocations: 4 kB / 491.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.1215, allocations: 83.72 kB / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.467e-05/0.1215, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1216, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.1216, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.957e-05/0.1216, allocations: 0 / 491.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.1216, allocations: 4 kB / 491.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1218, allocations: 95.91 kB / 491.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-06/0.1218, allocations: 0 / 491.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.1218, allocations: 33.62 kB / 491.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1219, allocations: 59.84 kB / 491.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.122, allocations: 4 kB / 491.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.122, allocations: 0 / 491.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.122, allocations: 0 / 491.7 MB, free: 9.801 MB / 378.7 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.0002739/0.1223, allocations: 357.3 kB / 492 MB, free: 9.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1223, allocations: 12.03 kB / 492 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.1223, allocations: 30.75 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.1224, allocations: 4.844 kB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.1224, allocations: 160.4 kB / 492.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1225, allocations: 384 / 492.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.1225, allocations: 4.375 kB / 492.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.019e-05/0.1226, allocations: 34.25 kB / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1226, allocations: 3.938 kB / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.1226, allocations: 0 / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1226, allocations: 0 / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.1226, allocations: 7.938 kB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.1227, allocations: 146.9 kB / 492.4 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.982e-05/0.1228, allocations: 14.58 kB / 492.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.1228, allocations: 16.94 kB / 492.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.1228, allocations: 3.938 kB / 492.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1229, allocations: 56.27 kB / 492.5 MB, free: 8.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1229, allocations: 0 / 492.5 MB, free: 8.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.123, allocations: 71.28 kB / 492.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1231, allocations: 77.11 kB / 492.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.1231, allocations: 93.84 kB / 492.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1231, allocations: 29.83 kB / 492.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.1231, allocations: 84.14 kB / 492.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.1232, allocations: 0 / 492.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.1232, allocations: 3.938 kB / 492.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1233, allocations: 310.8 kB / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.1233, allocations: 0 / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.1233, allocations: 0 / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.1233, allocations: 64.27 kB / 493.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1233, allocations: 4.062 kB / 493.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.885e-05/0.1234, allocations: 67.33 kB / 493.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.1235, allocations: 29.7 kB / 493.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1235, allocations: 3.938 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1235, allocations: 4 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1235, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1235, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.1235, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1235, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.1236, allocations: 143.6 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.1236, allocations: 3.984 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.1236, allocations: 11.06 kB / 493.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1236, allocations: 3.984 kB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1236, allocations: 0 / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1237, allocations: 0 / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.994e-05/0.1237, allocations: 145.7 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1237, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1237, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.1238, allocations: 0 / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1238, allocations: 7.922 kB / 493.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1238, allocations: 4 kB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1238, allocations: 4 kB / 493.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.458e-05/0.1239, allocations: 94.7 kB / 493.8 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.1239, allocations: 81.09 kB / 493.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1239, allocations: 7.938 kB / 493.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.1239, allocations: 0 / 493.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.124, allocations: 0 / 493.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.124, allocations: 4.031 kB / 493.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.888e-05/0.124, allocations: 75.28 kB / 493.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.124, allocations: 0 / 493.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.1242, allocations: 32 kB / 493.9 MB, free: 7.148 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006903/0.1249, allocations: 0.8002 MB / 494.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.97e-05/0.125, allocations: 59.41 kB / 494.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.125, allocations: 0 / 494.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.1251, allocations: 55.39 kB / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.1252, allocations: 4 kB / 494.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.1254, allocations: 154.2 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1256, allocations: 0.677 MB / 495.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.1256, allocations: 7.438 kB / 495.7 MB, free: 5.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1257, allocations: 0 / 495.7 MB, free: 5.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.951/3.077, allocations: 1.277 MB / 497 MB, free: 4.02 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches