Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 182.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2956/0.2956, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003704, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.115/9.292, allocations: 3.613 GB / 4.091 GB, free: 132 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/9.293, allocations: 88.09 kB / 4.091 GB, free: 132 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.863/15.16, allocations: 1.444 GB / 5.535 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.278e-06/15.16, allocations: 4 kB / 5.535 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004585/15.16, allocations: 63.98 kB / 5.535 GB, free: 2.586 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.04117/15.2, allocations: 7.327 MB / 5.542 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/15.2, allocations: 12.03 kB / 5.542 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002008/15.2, allocations: 282 kB / 5.543 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/15.2, allocations: 281.1 kB / 5.543 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005648/15.21, allocations: 1.451 MB / 5.544 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/15.21, allocations: 143.5 kB / 5.545 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/15.21, allocations: 180 kB / 5.545 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009045/15.22, allocations: 2.987 MB / 5.548 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/15.22, allocations: 3.938 kB / 5.548 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007208/15.22, allocations: 79.97 kB / 5.548 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/15.22, allocations: 163.6 kB / 5.548 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007294/15.23, allocations: 3.25 MB / 5.551 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5953/15.82, allocations: 11.26 MB / 5.562 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/15.83, allocations: 2.339 MB / 5.564 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/15.83, allocations: 3.393 MB / 5.568 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/15.83, allocations: 61.38 kB / 5.568 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001997/15.83, allocations: 274.9 kB / 5.568 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=156): time 7.504e-06/15.83, allocations: 0 / 5.568 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=156): time 0.008783/15.84, allocations: 3.511 MB / 5.571 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/15.84, allocations: 200.4 kB / 5.572 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/15.84, allocations: 1.697 MB / 5.573 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/15.84, allocations: 64.02 kB / 5.573 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/15.85, allocations: 0.8937 MB / 5.574 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/15.85, allocations: 0.5359 MB / 5.575 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/15.85, allocations: 42.81 kB / 5.575 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001911/15.85, allocations: 385.9 kB / 5.575 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/15.85, allocations: 1.048 MB / 5.576 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/15.85, allocations: 1.45 MB / 5.578 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/15.85, allocations: 1.38 MB / 5.579 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/15.85, allocations: 3.906 kB / 5.579 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.006033/15.86, allocations: 3.262 MB / 5.582 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/15.86, allocations: 4.123 MB / 5.586 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/15.86, allocations: 8.938 kB / 5.586 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/15.87, allocations: 0.7281 MB / 5.587 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/15.87, allocations: 459 kB / 5.587 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/15.87, allocations: 1.639 MB / 5.589 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/15.87, allocations: 152.8 kB / 5.589 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/15.87, allocations: 151.2 kB / 5.589 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/15.87, allocations: 3.625 kB / 5.589 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005894/15.88, allocations: 2.926 MB / 5.592 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.111e-05/15.88, allocations: 12.59 kB / 5.592 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/15.88, allocations: 364.9 kB / 5.592 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/15.88, allocations: 0.4999 MB / 5.593 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009424/15.88, allocations: 1.329 MB / 5.594 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/15.89, allocations: 135.5 kB / 5.594 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/15.89, allocations: 153.3 kB / 5.594 GB, free: 24.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001999/15.89, allocations: 0.6043 MB / 5.595 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/15.89, allocations: 218.7 kB / 5.595 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/15.9, allocations: 3.728 MB / 5.599 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/15.9, allocations: 19.12 kB / 5.599 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/15.9, allocations: 0 / 5.599 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/15.9, allocations: 9.656 kB / 5.599 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/15.91, allocations: 5.547 MB / 5.604 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/15.91, allocations: 5.438 kB / 5.604 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/15.91, allocations: 325.9 kB / 5.605 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00362/15.92, allocations: 0.6726 MB / 5.605 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/15.92, allocations: 67.72 kB / 5.605 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/15.92, allocations: 1.629 MB / 5.607 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/15.92, allocations: 8.344 kB / 5.607 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00573/15.92, allocations: 3.187 MB / 5.61 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/15.93, allocations: 354.3 kB / 5.61 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009936/15.93, allocations: 36.28 kB / 5.61 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/15.93, allocations: 127.2 kB / 5.611 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/15.93, allocations: 142.5 kB / 5.611 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000414/15.93, allocations: 132.7 kB / 5.611 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003007/15.93, allocations: 1.395 MB / 5.612 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/15.93, allocations: 0 / 5.612 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01462/15.95, allocations: 3.104 MB / 5.615 GB, free: 20.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02415/15.97, allocations: 9.123 MB / 5.624 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01266/15.98, allocations: 4.478 MB / 5.628 GB, free: 16.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.596e-05/15.98, allocations: 3.953 kB / 5.629 GB, free: 16.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/15.99, allocations: 1.185 MB / 5.63 GB, free: 16.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007911/16, allocations: 1.209 MB / 5.631 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/16.02, allocations: 13.85 MB / 5.644 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/16.03, allocations: 1.655 MB / 5.646 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.007798/16.03, allocations: 1.084 MB / 5.647 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00279/16.04, allocations: 0.8924 MB / 5.648 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.004e-06/16.04, allocations: 2.031 kB / 5.648 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2517/16.29, allocations: 129.6 MB / 5.775 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/16.29, allocations: 263.5 kB / 5.775 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/22.94, allocations: 7.938 kB / 5.775 GB, free: 6.68 MB / 0.6355 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat