Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009499, allocations: 98.66 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.327e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.6165, allocations: 86.01 MB / 0.5858 GB, free: 3.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.6168, allocations: 63.97 kB / 0.5858 GB, free: 3.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006123/0.6229, allocations: 2.301 MB / 0.5881 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.604e-06/0.6229, allocations: 4 kB / 0.5881 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.6229, allocations: 0 / 0.5881 GB, free: 0.9062 MB / 394.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.0003218/0.6233, allocations: 356.2 kB / 0.5884 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6233, allocations: 12.03 kB / 0.5885 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.6234, allocations: 34.5 kB / 0.5885 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.6234, allocations: 3.984 kB / 0.5885 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.6235, allocations: 163.1 kB / 0.5886 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.6235, allocations: 0 / 0.5886 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6235, allocations: 7.953 kB / 0.5887 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.6236, allocations: 29.69 kB / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6236, allocations: 0 / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.6237, allocations: 0 / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6237, allocations: 0 / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.6237, allocations: 7.938 kB / 0.5887 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.6238, allocations: 153.7 kB / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.6239, allocations: 18.66 kB / 0.5889 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.6239, allocations: 8.688 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.6239, allocations: 0 / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.624, allocations: 60.22 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.624, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.6241, allocations: 67.41 kB / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6242, allocations: 85.08 kB / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.788e-05/0.6242, allocations: 85 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.6242, allocations: 29.7 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.6243, allocations: 80.14 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.6243, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.6243, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.6244, allocations: 310.8 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.6244, allocations: 0 / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.6244, allocations: 4 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.6245, allocations: 33.77 kB / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6245, allocations: 0 / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.266e-05/0.6245, allocations: 67.33 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6246, allocations: 29.7 kB / 0.5897 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6246, allocations: 0 / 0.5897 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6246, allocations: 3.953 kB / 0.5897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-06/0.6246, allocations: 4 kB / 0.5897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6246, allocations: 0 / 0.5897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.6246, allocations: 0 / 0.5897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.6246, allocations: 4.031 kB / 0.5897 GB, free: 15.02 MB / 410.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 () * 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.434e-05/0.6247, allocations: 132.8 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-06/0.6247, allocations: 0 / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.6248, allocations: 11.06 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.6248, allocations: 3.953 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6248, allocations: 0 / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6248, allocations: 0 / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.566e-05/0.6249, allocations: 153.6 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6249, allocations: 0 / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.6249, allocations: 0 / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.6249, allocations: 4 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6249, allocations: 0 / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6249, allocations: 11.92 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6249, allocations: 3.953 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/0.625, allocations: 90.78 kB / 0.5901 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.6251, allocations: 77.11 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.6251, allocations: 3.984 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.6251, allocations: 8.031 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.6251, allocations: 3.984 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6251, allocations: 3.953 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.6252, allocations: 75.28 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6252, allocations: 0 / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.6254, allocations: 39.98 kB / 0.5903 GB, free: 14.3 MB / 410.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) * 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.0008241/0.6263, allocations: 0.7985 MB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.6264, allocations: 63.41 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6264, allocations: 0 / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/0.6264, allocations: 55.41 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.802e-05/0.6265, allocations: 4 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.6268, allocations: 101.5 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.6271, allocations: 0.677 MB / 0.5919 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.6271, allocations: 0 / 0.5919 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.6271, allocations: 11.44 kB / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6272, allocations: 4.125 kB / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.6394, allocations: 1.533 MB / 0.5934 GB, free: 11.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.6396, allocations: 174.1 kB / 0.5936 GB, free: 10.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.204, allocations: 0 / 0.5936 GB, free: 10.85 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat