Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002437/0.002437, allocations: 202 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001246, allocations: 98.75 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.6797/0.6797, allocations: 45.22 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004118, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.524, allocations: 63.25 MB / 0.5193 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.706/10.23, allocations: 3.546 GB / 4.066 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/10.23, allocations: 99.78 kB / 4.066 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.504/16.73, allocations: 1.389 GB / 5.455 GB, free: 38.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.797e-06/16.73, allocations: 0.8125 kB / 5.455 GB, free: 38.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003573/16.74, allocations: 57.55 kB / 5.455 GB, free: 38.83 MB / 0.6198 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.03407/16.77, allocations: 7.107 MB / 5.462 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/16.77, allocations: 7.406 kB / 5.462 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001949/16.77, allocations: 279.4 kB / 5.463 GB, free: 35.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/16.77, allocations: 284.7 kB / 5.463 GB, free: 34.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005643/16.78, allocations: 1.443 MB / 5.464 GB, free: 34.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/16.78, allocations: 144.2 kB / 5.464 GB, free: 34.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/16.78, allocations: 185.1 kB / 5.465 GB, free: 34.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008957/16.79, allocations: 2.962 MB / 5.467 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/16.79, allocations: 3.469 kB / 5.467 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/16.79, allocations: 83.14 kB / 5.468 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002952/16.79, allocations: 164.7 kB / 5.468 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00783/16.8, allocations: 3.22 MB / 5.471 GB, free: 34.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/16.83, allocations: 11.3 MB / 5.482 GB, free: 29.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/16.83, allocations: 2.318 MB / 5.484 GB, free: 29.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/16.83, allocations: 3.407 MB / 5.487 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/16.83, allocations: 63.66 kB / 5.488 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002334/16.84, allocations: 269.5 kB / 5.488 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=155): time 1.986e-05/16.84, allocations: 0 / 5.488 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155): time 0.009807/16.85, allocations: 3.465 MB / 5.491 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/16.85, allocations: 195.7 kB / 5.491 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/16.85, allocations: 1.696 MB / 5.493 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005362/16.85, allocations: 63.86 kB / 5.493 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/16.85, allocations: 0.9028 MB / 5.494 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000815/16.85, allocations: 0.5347 MB / 5.494 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/16.85, allocations: 41.5 kB / 5.495 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002278/16.85, allocations: 382.8 kB / 5.495 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/16.86, allocations: 1.04 MB / 5.496 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/16.86, allocations: 1.444 MB / 5.497 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/16.86, allocations: 1.375 MB / 5.499 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/16.86, allocations: 9.297 kB / 5.499 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.007652/16.87, allocations: 3.233 MB / 5.502 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001219/16.87, allocations: 4.109 MB / 5.506 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/16.87, allocations: 15.02 kB / 5.506 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/16.88, allocations: 0.6774 MB / 5.507 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/16.88, allocations: 451.7 kB / 5.507 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/16.88, allocations: 1.62 MB / 5.509 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/16.88, allocations: 151.6 kB / 5.509 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007884/16.89, allocations: 125 kB / 5.509 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/16.89, allocations: 4.5 kB / 5.509 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006908/16.89, allocations: 2.906 MB / 5.512 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/16.89, allocations: 10.72 kB / 5.512 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/16.89, allocations: 312.2 kB / 5.512 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/16.9, allocations: 498.9 kB / 5.512 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/16.9, allocations: 1.316 MB / 5.514 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/16.9, allocations: 146.3 kB / 5.514 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/16.9, allocations: 116.5 kB / 5.514 GB, free: 16.42 MB / 0.6198 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.002861/16.91, allocations: 0.6044 MB / 5.515 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/16.91, allocations: 212.4 kB / 5.515 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/16.92, allocations: 3.802 MB / 5.518 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/16.92, allocations: 18.83 kB / 5.518 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/16.92, allocations: 7.438 kB / 5.518 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/16.92, allocations: 5.203 kB / 5.518 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/16.93, allocations: 5.827 MB / 5.524 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/16.93, allocations: 5.531 kB / 5.524 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/16.93, allocations: 307.9 kB / 5.524 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003495/16.93, allocations: 0.6453 MB / 5.525 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/16.93, allocations: 56.27 kB / 5.525 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/16.94, allocations: 1.617 MB / 5.527 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/16.94, allocations: 11.31 kB / 5.527 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/16.94, allocations: 3.167 MB / 5.53 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/16.94, allocations: 371.8 kB / 5.53 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009039/16.94, allocations: 35.41 kB / 5.53 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/16.95, allocations: 123.4 kB / 5.53 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/16.95, allocations: 136.9 kB / 5.53 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004254/16.95, allocations: 108.6 kB / 5.531 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003311/16.95, allocations: 1.421 MB / 5.532 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/16.95, allocations: 0 / 5.532 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01703/16.97, allocations: 2.872 MB / 5.535 GB, free: 11.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (161): * Single equations (assignments): 158 * 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.02389/16.99, allocations: 8.816 MB / 5.543 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01273/17, allocations: 4.412 MB / 5.548 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.367e-05/17, allocations: 4.453 kB / 5.548 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/17.01, allocations: 1.141 MB / 5.549 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/17.02, allocations: 1.197 MB / 5.55 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/17.04, allocations: 13.71 MB / 5.563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/17.04, allocations: 1.651 MB / 5.565 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.006781/17.05, allocations: 1.226 MB / 5.566 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00243/17.05, allocations: 0.8623 MB / 5.567 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of SimCode: time 1.674e-06/17.05, allocations: 3.469 kB / 5.567 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8461/17.9, allocations: 123.8 MB / 5.688 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/17.9, allocations: 252.9 kB / 5.688 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/24.81, allocations: 2.438 kB / 5.688 GB, free: 58.29 MB / 0.6511 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat