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.001302/0.001302, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 173.8 kB / 16.56 MB, free: 6.379 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.948/1.948, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4265/0.4265, allocations: 43.54 MB / 314.5 MB, free: 8.984 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.0005752/0.0005754, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006358/0.1256, allocations: 220.4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.1263, allocations: 283.7 kB / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.1264, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-06/0.1264, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1264, allocations: 0 / 443.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1268, allocations: 67.8 kB / 443.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.198e-05/0.1269, allocations: 4 kB / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.1269, allocations: 0 / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.127, allocations: 7.984 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.39e-05/0.127, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.127, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1272, allocations: 79.88 kB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.1272, allocations: 3.938 kB / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.1272, allocations: 33.62 kB / 443.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1274, allocations: 55.91 kB / 443.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1274, allocations: 0 / 443.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1274, allocations: 0 / 443.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1274, allocations: 0 / 443.6 MB, free: 12.47 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.0003228/0.1277, allocations: 357.1 kB / 443.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1278, allocations: 8.031 kB / 443.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.1278, allocations: 30.56 kB / 444 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1278, allocations: 11.86 kB / 444 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1279, allocations: 163.1 kB / 444.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.128, allocations: 4 kB / 444.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.128, allocations: 0 / 444.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.864e-05/0.1281, allocations: 25.7 kB / 444.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1281, allocations: 3.938 kB / 444.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1281, allocations: 7.938 kB / 444.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1281, allocations: 0 / 444.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.1281, allocations: 0 / 444.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1283, allocations: 157.6 kB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.1283, allocations: 18.61 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.1283, allocations: 3.984 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.1284, allocations: 56.27 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1284, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002134/0.1286, allocations: 63.41 kB / 444.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1287, allocations: 89.22 kB / 444.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.135e-05/0.1287, allocations: 89.86 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1288, allocations: 29.7 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1288, allocations: 80.14 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.1288, allocations: 0 / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.1288, allocations: 0 / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.129, allocations: 314.8 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.129, allocations: 0 / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.129, allocations: 4 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.1291, allocations: 29.77 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1291, allocations: 0 / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.304e-05/0.1291, allocations: 71.33 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.1292, allocations: 29.7 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1292, allocations: 0 / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1292, allocations: 0 / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-06/0.1292, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1292, allocations: 4 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1293, allocations: 288 / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1293, allocations: 3.969 kB / 445.2 MB, free: 10.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.1294, allocations: 147.5 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.1294, allocations: 3.984 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262e-05/0.1294, allocations: 3.125 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1294, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1294, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1294, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1296, allocations: 153.6 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1296, allocations: 0 / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.1296, allocations: 3.938 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.1296, allocations: 7.984 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1296, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1296, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1296, allocations: 0 / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1297, allocations: 94.78 kB / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1298, allocations: 85.05 kB / 445.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1298, allocations: 0 / 445.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.1298, allocations: 8.031 kB / 445.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1298, allocations: 0 / 445.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1298, allocations: 0 / 445.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.1299, allocations: 75.28 kB / 445.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1299, allocations: 0 / 445.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1302, allocations: 35.98 kB / 445.8 MB, free: 9.863 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 (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.0007846/0.131, allocations: 0.7977 MB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.1311, allocations: 55.41 kB / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1311, allocations: 0 / 446.7 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.1311, allocations: 63.39 kB / 446.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.651e-05/0.1312, allocations: 3.938 kB / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.1315, allocations: 124.5 kB / 446.8 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1318, allocations: 0.6731 MB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.472e-06/0.1318, allocations: 0 / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.1318, allocations: 7.438 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1318, allocations: 0 / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1446, allocations: 1.531 MB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.1449, allocations: 210.9 kB / 449.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.78, allocations: 0 / 449.3 MB, free: 6.289 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat