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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 98.08 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 199.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 15.98 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 63.45 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.5643/0.6998, allocations: 243.9 MB / 0.7085 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.3584/1.058, allocations: 18.28 MB / 0.7263 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/1.062, allocations: 62.03 kB / 0.7264 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003341/1.065, allocations: 0.8296 MB / 0.7272 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01686/1.082, allocations: 4.572 MB / 0.7316 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02141/1.103, allocations: 6.096 MB / 0.7376 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00666/1.11, allocations: 3.129 MB / 0.7406 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/1.114, allocations: 1.567 MB / 0.7422 GB, free: 20.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/1.125, allocations: 4.846 MB / 0.7469 GB, free: 20.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/1.13, allocations: 1.828 MB / 0.7487 GB, free: 20.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.131, allocations: 129.6 kB / 0.7488 GB, free: 20.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02925/1.16, allocations: 13.8 MB / 0.7623 GB, free: 18.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002366/1.163, allocations: 0.9142 MB / 0.7632 GB, free: 17.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/1.164, allocations: 0.4978 MB / 0.7637 GB, free: 17.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01658/1.181, allocations: 7.237 MB / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.181, allocations: 0 / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/1.181, allocations: 2.906 kB / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.893e-05/1.181, allocations: 0 / 0.7707 GB, free: 14.91 MB / 0.545 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.009944/1.191, allocations: 3.976 MB / 0.7746 GB, free: 12.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.191, allocations: 13.06 kB / 0.7746 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005524/1.192, allocations: 281.4 kB / 0.7749 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009085/1.193, allocations: 275.9 kB / 0.7752 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/1.195, allocations: 1.317 MB / 0.7765 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/1.195, allocations: 145.5 kB / 0.7766 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/1.195, allocations: 174.7 kB / 0.7768 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/1.199, allocations: 2.967 MB / 0.7797 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.199, allocations: 2.25 kB / 0.7797 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/1.2, allocations: 81.28 kB / 0.7797 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/1.2, allocations: 165 kB / 0.7799 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/1.204, allocations: 3.266 MB / 0.7831 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/1.223, allocations: 11.51 MB / 0.7943 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/1.228, allocations: 2.371 MB / 0.7966 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002625/1.23, allocations: 3.405 MB / 0.8 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/1.23, allocations: 53.66 kB / 0.8 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001727/1.232, allocations: 265.8 kB / 0.8003 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 7.003e-06/1.232, allocations: 0 / 0.8003 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=155): time 0.007258/1.239, allocations: 3.564 MB / 0.8038 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/1.24, allocations: 201.8 kB / 0.8039 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/1.242, allocations: 1.902 MB / 0.8058 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003617/1.242, allocations: 60.52 kB / 0.8059 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/1.243, allocations: 0.9047 MB / 0.8067 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/1.244, allocations: 0.5364 MB / 0.8073 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.244, allocations: 42.88 kB / 0.8073 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.244, allocations: 385.2 kB / 0.8077 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.246, allocations: 1.076 MB / 0.8087 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/1.248, allocations: 1.498 MB / 0.8102 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/1.25, allocations: 1.417 MB / 0.8116 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/1.251, allocations: 4 kB / 0.8116 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.007579/1.258, allocations: 3.326 MB / 0.8148 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.002505/1.261, allocations: 4.481 MB / 0.8192 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/1.261, allocations: 9.859 kB / 0.8192 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/1.265, allocations: 0.6892 MB / 0.8199 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.268, allocations: 454.2 kB / 0.8203 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/1.27, allocations: 1.634 MB / 0.8219 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.273, allocations: 146.6 kB / 0.8221 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006566/1.274, allocations: 125.9 kB / 0.8222 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.274, allocations: 4 kB / 0.8222 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006773/1.281, allocations: 2.993 MB / 0.8251 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/1.281, allocations: 12 kB / 0.8251 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/1.282, allocations: 305.9 kB / 0.8254 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/1.285, allocations: 496.1 kB / 0.8259 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/1.286, allocations: 1.32 MB / 0.8272 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.289, allocations: 132.1 kB / 0.8273 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/1.29, allocations: 133.2 kB / 0.8274 GB, free: 3.859 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (239): * Single equations (assignments): 232 * 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.001915/1.292, allocations: 0.6027 MB / 0.828 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/1.292, allocations: 213.5 kB / 0.8282 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/1.3, allocations: 3.895 MB / 0.832 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.3, allocations: 20 kB / 0.832 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.3, allocations: 0 / 0.832 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/1.3, allocations: 7.969 kB / 0.832 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.311, allocations: 5.834 MB / 0.8377 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.311, allocations: 6.625 kB / 0.8377 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.313, allocations: 300.5 kB / 0.838 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.316, allocations: 0.6621 MB / 0.8387 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/1.316, allocations: 59.42 kB / 0.8387 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.318, allocations: 1.631 MB / 0.8403 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.318, allocations: 6.531 kB / 0.8403 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/1.323, allocations: 3.218 MB / 0.8435 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.324, allocations: 373.4 kB / 0.8438 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/1.324, allocations: 35 kB / 0.8439 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/1.326, allocations: 128.3 kB / 0.844 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.326, allocations: 130.1 kB / 0.8441 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.326, allocations: 108.8 kB / 0.8442 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002008/1.328, allocations: 1.419 MB / 0.8456 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/1.328, allocations: 0 / 0.8456 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008584/1.337, allocations: 2.53 MB / 0.8481 GB, free: 2.945 MB / 0.5919 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.01197/1.349, allocations: 7.289 MB / 0.8552 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008577/1.358, allocations: 4.533 MB / 0.8596 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.999e-05/1.358, allocations: 7.297 kB / 0.8596 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.36, allocations: 1.176 MB / 0.8608 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006482/1.366, allocations: 1.215 MB / 0.862 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.383, allocations: 14.18 MB / 0.8758 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.384, allocations: 1.659 MB / 0.8774 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004356/1.388, allocations: 1.293 MB / 0.8787 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.39, allocations: 0.8561 MB / 0.8795 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/1.39, allocations: 0 / 0.8795 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.783, allocations: 100 MB / 0.9772 GB, free: 344.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.784, allocations: 256 kB / 0.9775 GB, free: 344.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.297/7.081, allocations: 0 / 0.9775 GB, free: 344.5 MB / 0.7012 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