Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.002497/0.002497, allocations: 184 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 1.753/1.753, 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.001084/0.001084, allocations: 94.88 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.2401/0.2401, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5232, allocations: 87.85 MB / 0.5646 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5235, allocations: 66.28 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.5423, allocations: 6.975 MB / 0.5715 GB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5423, allocations: 4 kB / 0.5715 GB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.5424, allocations: 8 kB / 0.5715 GB, free: 5.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001286/0.5437, allocations: 0.6192 MB / 0.5721 GB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5437, allocations: 8.031 kB / 0.5721 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.5439, allocations: 72.03 kB / 0.5722 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.5439, allocations: 39.53 kB / 0.5722 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.5444, allocations: 282.5 kB / 0.5725 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5444, allocations: 20.5 kB / 0.5725 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.5444, allocations: 30.69 kB / 0.5726 GB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.5451, allocations: 367.7 kB / 0.5729 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5451, allocations: 0 / 0.5729 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.5452, allocations: 21.62 kB / 0.5729 GB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5452, allocations: 12 kB / 0.5729 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.5458, allocations: 288.3 kB / 0.5732 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.5477, allocations: 1.297 MB / 0.5745 GB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.5482, allocations: 201.6 kB / 0.5747 GB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.5482, allocations: 8 kB / 0.5747 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5482, allocations: 41.97 kB / 0.5747 GB, free: 2.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.5483, allocations: 3.984 kB / 0.5747 GB, free: 2.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008209/0.5491, allocations: 275.1 kB / 0.575 GB, free: 2.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.5492, allocations: 132.5 kB / 0.5751 GB, free: 2.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.5495, allocations: 287.1 kB / 0.5754 GB, free: 2.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5495, allocations: 28.33 kB / 0.5754 GB, free: 2.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.5497, allocations: 245.2 kB / 0.5757 GB, free: 1.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.5498, allocations: 52.23 kB / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.5498, allocations: 3.375 kB / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5499, allocations: 345.3 kB / 0.576 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.5502, allocations: 83.75 kB / 0.5761 GB, free: 1.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.5505, allocations: 182.5 kB / 0.5763 GB, free: 1.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.5507, allocations: 106.6 kB / 0.5764 GB, free: 1.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5508, allocations: 7.953 kB / 0.5764 GB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000665/0.5515, allocations: 325.5 kB / 0.5767 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5515, allocations: 4.25 kB / 0.5767 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5515, allocations: 8 kB / 0.5767 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5515, allocations: 4 kB / 0.5767 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.5519, allocations: 83.58 kB / 0.5768 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5519, allocations: 7.938 kB / 0.5768 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.5522, allocations: 51.44 kB / 0.5769 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.5522, allocations: 19.94 kB / 0.5769 GB, free: 0.8164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.5524, allocations: 149.1 kB / 0.577 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5525, allocations: 35.58 kB / 0.5771 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.5526, allocations: 30.03 kB / 0.5771 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5526, allocations: 7.938 kB / 0.5771 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5526, allocations: 0 / 0.5771 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5526, allocations: 0.5625 kB / 0.5771 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.5534, allocations: 0.5919 MB / 0.5777 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5535, allocations: 3.938 kB / 0.5777 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.5537, allocations: 44.16 kB / 0.5777 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.5537, allocations: 7.984 kB / 0.5777 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5537, allocations: 12.03 kB / 0.5777 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5537, allocations: 0 / 0.5777 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5538, allocations: 7.938 kB / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.5544, allocations: 481.6 kB / 0.5782 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5545, allocations: 108.6 kB / 0.5783 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.5546, allocations: 4 kB / 0.5783 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.5548, allocations: 31.47 kB / 0.5783 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.5549, allocations: 15.88 kB / 0.5784 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.5549, allocations: 7.938 kB / 0.5784 GB, free: 15.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.5551, allocations: 224.7 kB / 0.5786 GB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5552, allocations: 0 / 0.5786 GB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.5555, allocations: 71.34 kB / 0.5786 GB, free: 15.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.5566, allocations: 1.426 MB / 0.58 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5572, allocations: 225.8 kB / 0.5803 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5572, allocations: 0 / 0.5803 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5574, allocations: 91.39 kB / 0.5803 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5577, allocations: 29.66 kB / 0.5804 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.5613, allocations: 3.533 MB / 0.5838 GB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.5617, allocations: 0.7839 MB / 0.5846 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.5619, allocations: 25.88 kB / 0.5846 GB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.562, allocations: 112.2 kB / 0.5847 GB, free: 9.004 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.562, allocations: 0 / 0.5847 GB, free: 9.004 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.5795, allocations: 4.448 MB / 0.5891 GB, free: 4.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.5798, allocations: 157.6 kB / 0.5892 GB, free: 4.352 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.691, allocations: 0 / 0.5892 GB, free: 4.352 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat