Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008872/0.0008872, allocations: 92.47 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1748/0.1748, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.641e-05, allocations: 8 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/5.913, allocations: 2.778 GB / 3.29 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/5.913, allocations: 85.3 kB / 3.29 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/7.983, allocations: 0.584 GB / 3.874 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.223e-06/7.983, allocations: 0 / 3.874 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.899e-05/7.983, allocations: 39.45 kB / 3.874 GB, free: 43.32 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01045/7.993, allocations: 2.56 MB / 3.877 GB, free: 42.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/7.994, allocations: 10.16 kB / 3.877 GB, free: 42.01 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003479/7.994, allocations: 169 kB / 3.877 GB, free: 41.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/8.001, allocations: 0.8718 MB / 3.878 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/8.003, allocations: 1.034 MB / 3.879 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/8.003, allocations: 97.58 kB / 3.879 GB, free: 41.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/8.003, allocations: 113.7 kB / 3.879 GB, free: 41.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/8.008, allocations: 2.164 MB / 3.881 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/8.008, allocations: 11.72 kB / 3.881 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/8.008, allocations: 49.91 kB / 3.881 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/8.008, allocations: 27.84 kB / 3.881 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/8.012, allocations: 1.976 MB / 3.883 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/8.022, allocations: 8.719 MB / 3.891 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/8.027, allocations: 1.89 MB / 3.893 GB, free: 31.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/8.027, allocations: 0.5299 MB / 3.894 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04191/8.069, allocations: 26.59 MB / 3.92 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/8.069, allocations: 47.55 kB / 3.92 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/8.071, allocations: 162.5 kB / 3.92 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=108): time 3.316e-06/8.071, allocations: 4 kB / 3.92 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108): time 0.006399/8.077, allocations: 2.456 MB / 3.922 GB, free: 228 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/8.077, allocations: 200.8 kB / 3.923 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/8.079, allocations: 0.8952 MB / 3.923 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/8.079, allocations: 49.7 kB / 3.924 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/8.079, allocations: 0.5674 MB / 3.924 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/8.079, allocations: 367.3 kB / 3.924 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/8.079, allocations: 28 kB / 3.924 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001425/8.08, allocations: 361.9 kB / 3.925 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008113/8.08, allocations: 463.8 kB / 3.925 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/8.082, allocations: 0.762 MB / 3.926 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/8.082, allocations: 0.528 MB / 3.927 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/8.082, allocations: 4 kB / 3.927 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002796/8.085, allocations: 1.578 MB / 3.928 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001383/8.087, allocations: 3.143 MB / 3.931 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/8.087, allocations: 15.95 kB / 3.931 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/8.093, allocations: 1.163 MB / 3.932 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/8.095, allocations: 423.4 kB / 3.933 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/8.096, allocations: 0.9306 MB / 3.934 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/8.098, allocations: 175.8 kB / 3.934 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/8.098, allocations: 75.95 kB / 3.934 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/8.098, allocations: 4 kB / 3.934 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002545/8.101, allocations: 1.341 MB / 3.935 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/8.101, allocations: 8 kB / 3.935 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/8.101, allocations: 84.8 kB / 3.935 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/8.103, allocations: 455.7 kB / 3.936 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/8.105, allocations: 1.762 MB / 3.937 GB, free: 304 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/8.106, allocations: 175.7 kB / 3.938 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/8.106, allocations: 75.95 kB / 3.938 GB, free: 52 kB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.3292/8.436, allocations: 177 kB / 3.938 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/8.436, allocations: 141.6 kB / 3.938 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/8.443, allocations: 6.689 MB / 3.944 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/8.443, allocations: 86.08 kB / 3.945 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/8.443, allocations: 0 / 3.945 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/8.443, allocations: 8.656 kB / 3.945 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/8.452, allocations: 8.568 MB / 3.953 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/8.452, allocations: 2.188 kB / 3.953 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/8.453, allocations: 295.1 kB / 3.953 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005946/8.459, allocations: 2.296 MB / 3.955 GB, free: 65.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/8.459, allocations: 38.03 kB / 3.955 GB, free: 65.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/8.461, allocations: 1.613 MB / 3.957 GB, free: 64.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/8.461, allocations: 5.188 kB / 3.957 GB, free: 64.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/8.465, allocations: 3.514 MB / 3.96 GB, free: 64.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/8.467, allocations: 0.745 MB / 3.961 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/8.467, allocations: 26.69 kB / 3.961 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/8.468, allocations: 150.2 kB / 3.961 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/8.468, allocations: 119.2 kB / 3.961 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/8.468, allocations: 54.02 kB / 3.962 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001689/8.47, allocations: 1.181 MB / 3.963 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/8.47, allocations: 1.625 kB / 3.963 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008151/8.478, allocations: 1.857 MB / 3.965 GB, free: 63.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 51 ($cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse63.phase,$cse63.region,$cse67.phase,$cse67.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01244/8.491, allocations: 5.882 MB / 3.97 GB, free: 62.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003754/8.495, allocations: 2.769 MB / 3.973 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/8.495, allocations: 0 / 3.973 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/8.496, allocations: 1.543 MB / 3.974 GB, free: 62.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/8.5, allocations: 0.7465 MB / 3.975 GB, free: 62.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/8.507, allocations: 4.702 MB / 3.98 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/8.508, allocations: 1.778 MB / 3.982 GB, free: 60.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002418/8.511, allocations: 1.858 MB / 3.983 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009117/8.512, allocations: 1.01 MB / 3.984 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/8.512, allocations: 2.844 kB / 3.984 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/8.632, allocations: 93.48 MB / 4.076 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/8.632, allocations: 238.7 kB / 4.076 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.758/13.39, allocations: 0 / 4.076 GB, free: 48.55 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat