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.001213/0.001213, allocations: 103 kB / 16.27 MB, free: 5.93 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.00123/0.001229, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.615/1.615, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2363/0.2363, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001729/0.00173, allocations: 67.73 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1251, allocations: 57.8 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001701/0.1268, allocations: 485.4 kB / 441.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.1275, allocations: 295.7 kB / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.1276, allocations: 0 / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.1276, allocations: 0 / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.371e-06/0.1276, allocations: 0 / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.1284, allocations: 96 kB / 441.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.1285, allocations: 8 kB / 441.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1285, allocations: 4 kB / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.1285, allocations: 0 / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.395e-05/0.1286, allocations: 0 / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-06/0.1286, allocations: 0 / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1288, allocations: 107.9 kB / 441.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1288, allocations: 3.938 kB / 441.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1288, allocations: 0 / 441.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.129, allocations: 87.81 kB / 441.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.129, allocations: 0 / 441.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.129, allocations: 0 / 441.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.129, allocations: 0 / 441.7 MB, free: 5.762 MB / 318.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.000303/0.1293, allocations: 369.2 kB / 442 MB, free: 5.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1293, allocations: 11.89 kB / 442.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.1294, allocations: 34.73 kB / 442.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1294, allocations: 4.938 kB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.1295, allocations: 160.7 kB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.1295, allocations: 384 / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1295, allocations: 384 / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.356e-05/0.1296, allocations: 30.27 kB / 442.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1296, allocations: 7.875 kB / 442.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1296, allocations: 8 kB / 442.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1296, allocations: 0 / 442.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.1297, allocations: 11.88 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.1298, allocations: 149.7 kB / 442.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.1298, allocations: 14.58 kB / 442.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.1298, allocations: 4.859 kB / 442.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1298, allocations: 96 / 442.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1299, allocations: 64.27 kB / 442.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1299, allocations: 0 / 442.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.13, allocations: 75.27 kB / 442.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1301, allocations: 77.11 kB / 442.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.601e-05/0.1301, allocations: 89.86 kB / 442.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.1301, allocations: 25.7 kB / 442.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.129e-05/0.1301, allocations: 80.14 kB / 442.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1302, allocations: 3.938 kB / 442.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.1302, allocations: 21.84 kB / 442.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.1302, allocations: 314.8 kB / 443.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.1303, allocations: 0 / 443.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.1303, allocations: 4 kB / 443.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.1303, allocations: 56.27 kB / 443.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1303, allocations: 4 kB / 443.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.979e-05/0.1304, allocations: 63.34 kB / 443.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1304, allocations: 41.78 kB / 443.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1304, allocations: 3.938 kB / 443.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1304, allocations: 0 / 443.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1304, allocations: 0 / 443.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1305, allocations: 3.984 kB / 443.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.1305, allocations: 0 / 443.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1305, allocations: 0 / 443.4 MB, free: 3.777 MB / 318.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 5.012e-05/0.1305, allocations: 139.5 kB / 443.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.1306, allocations: 0 / 443.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.1306, allocations: 11.06 kB / 443.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1306, allocations: 7.984 kB / 443.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1306, allocations: 0 / 443.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1306, allocations: 3.984 kB / 443.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.493e-05/0.1307, allocations: 145.6 kB / 443.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1307, allocations: 0 / 443.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1307, allocations: 0 / 443.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1307, allocations: 0 / 443.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1307, allocations: 11.92 kB / 443.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1307, allocations: 0 / 443.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1307, allocations: 0 / 443.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.1308, allocations: 98.77 kB / 443.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.1308, allocations: 81.11 kB / 443.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1308, allocations: 7.875 kB / 443.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-06/0.1308, allocations: 4 kB / 443.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.1308, allocations: 3.984 kB / 443.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1309, allocations: 4 kB / 443.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.1309, allocations: 75.28 kB / 444 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1309, allocations: 4.031 kB / 444 MB, free: 3.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1311, allocations: 28 kB / 444 MB, free: 3.055 MB / 318.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.0006206/0.1317, allocations: 0.7892 MB / 444.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.1318, allocations: 55.41 kB / 444.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1318, allocations: 0 / 444.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.1319, allocations: 59.41 kB / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.132, allocations: 0 / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.1323, allocations: 122.6 kB / 445 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1324, allocations: 0.6768 MB / 445.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.1324, allocations: 0 / 445.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.1324, allocations: 11.56 kB / 445.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1324, allocations: 0 / 445.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.1492, allocations: 1.778 MB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.18, allocations: 16.94 kB / 447.5 MB, free: 15.46 MB / 334.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