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.0008361/0.0008363, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008713/0.0008714, allocations: 183.5 kB / 16.59 MB, free: 6.84 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.5/1.5, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3551/0.3551, allocations: 43.55 MB / 314.6 MB, free: 9.062 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.0005658/0.000566, allocations: 12 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1105, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.000524/0.111, allocations: 220.4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005973/0.1116, allocations: 282.8 kB / 443.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.1117, allocations: 0 / 443.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.041e-05/0.1117, allocations: 3.938 kB / 443.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.1117, allocations: 0 / 443.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1121, allocations: 71.84 kB / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.466e-05/0.1122, allocations: 0 / 443.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.1122, allocations: 4 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.1122, allocations: 3.984 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.1122, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.1122, allocations: 0 / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1124, allocations: 103.8 kB / 443.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-06/0.1124, allocations: 0 / 443.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1125, allocations: 29.7 kB / 443.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.1126, allocations: 51.91 kB / 443.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1126, allocations: 0 / 443.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1126, allocations: 0 / 443.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1126, allocations: 0 / 443.6 MB, free: 12.45 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.0002685/0.1129, allocations: 365.1 kB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1129, allocations: 8.031 kB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.1129, allocations: 34.56 kB / 444 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.113, allocations: 7.859 kB / 444 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.672e-05/0.1131, allocations: 159.1 kB / 444.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1131, allocations: 0 / 444.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.1131, allocations: 4 kB / 444.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.1132, allocations: 37.61 kB / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1132, allocations: 0 / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1132, allocations: 4 kB / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1132, allocations: 0 / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.1132, allocations: 4 kB / 444.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.1133, allocations: 153.6 kB / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.337e-05/0.1134, allocations: 18.61 kB / 444.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.1134, allocations: 4.859 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-06/0.1134, allocations: 0 / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1134, allocations: 64.19 kB / 444.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.1135, allocations: 0 / 444.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.1136, allocations: 67.47 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1137, allocations: 81.11 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.282e-05/0.1137, allocations: 89.86 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1137, allocations: 25.7 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.1137, allocations: 84.12 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1138, allocations: 3.938 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-06/0.1138, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1139, allocations: 314.8 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.1139, allocations: 4.125 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.1139, allocations: 8 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.1139, allocations: 33.58 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1139, allocations: 0 / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.342e-05/0.114, allocations: 59.41 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.1141, allocations: 33.69 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1141, allocations: 0 / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1141, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.1141, allocations: 3.984 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1141, allocations: 0 / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.1141, allocations: 4.375 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1141, allocations: 0 / 445.3 MB, free: 10.54 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 9.147e-05/0.1142, allocations: 147.5 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.1142, allocations: 0 / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.08e-05/0.1143, allocations: 3.125 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1143, allocations: 3.984 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1143, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1143, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.723e-05/0.1144, allocations: 153.6 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1144, allocations: 4 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1144, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1144, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1144, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1144, allocations: 3.938 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1144, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.1145, allocations: 94.78 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.1145, allocations: 77.11 kB / 445.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1146, allocations: 12.02 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.1146, allocations: 0 / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1146, allocations: 0 / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1146, allocations: 0 / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.109e-05/0.1146, allocations: 75.28 kB / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1146, allocations: 0 / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1149, allocations: 32 kB / 445.9 MB, free: 9.836 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.0006735/0.1156, allocations: 0.8021 MB / 446.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.398e-05/0.1157, allocations: 55.41 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1157, allocations: 0 / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.1157, allocations: 55.41 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1158, allocations: 8.125 kB / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.1161, allocations: 128.3 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1163, allocations: 0.6731 MB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.859e-06/0.1163, allocations: 7.875 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.1163, allocations: 7.438 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1164, allocations: 0 / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.1278, allocations: 1.546 MB / 449.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.128, allocations: 207.9 kB / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.752, allocations: 0 / 449.3 MB, free: 6.238 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