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.001268/0.001268, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.656/1.656, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001072/0.001072, allocations: 82.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3852/0.3852, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.897e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.5301, allocations: 87.76 MB / 0.5586 GB, free: 16.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5303, allocations: 62.02 kB / 0.5587 GB, free: 16.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.5481, allocations: 6.968 MB / 0.5655 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5482, allocations: 0 / 0.5655 GB, free: 11.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5482, allocations: 8 kB / 0.5655 GB, free: 11.84 MB / 394.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.0008651/0.5491, allocations: 0.5872 MB / 0.5661 GB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5491, allocations: 12.03 kB / 0.5661 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.5492, allocations: 70.28 kB / 0.5661 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.5493, allocations: 42.97 kB / 0.5662 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5496, allocations: 276.2 kB / 0.5664 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.5496, allocations: 23.66 kB / 0.5665 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.5497, allocations: 34.81 kB / 0.5665 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.5501, allocations: 324.1 kB / 0.5668 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5501, allocations: 4 kB / 0.5668 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.5502, allocations: 14.31 kB / 0.5668 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.5502, allocations: 8 kB / 0.5668 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.5505, allocations: 213.5 kB / 0.567 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.5521, allocations: 1.294 MB / 0.5683 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.5524, allocations: 172.4 kB / 0.5685 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.5524, allocations: 60.12 kB / 0.5685 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.5525, allocations: 0 / 0.5685 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5525, allocations: 38 kB / 0.5685 GB, free: 8.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.5525, allocations: 0 / 0.5685 GB, free: 8.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002952/0.5528, allocations: 147.7 kB / 0.5687 GB, free: 8.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5529, allocations: 136.5 kB / 0.5688 GB, free: 8.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5531, allocations: 283.6 kB / 0.5691 GB, free: 8.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5531, allocations: 33.69 kB / 0.5691 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.5532, allocations: 237.3 kB / 0.5693 GB, free: 8.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.5533, allocations: 50.17 kB / 0.5694 GB, free: 8.172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.5533, allocations: 3.125 kB / 0.5694 GB, free: 8.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.5534, allocations: 344.8 kB / 0.5697 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.5534, allocations: 53.31 kB / 0.5698 GB, free: 7.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.5536, allocations: 145 kB / 0.5699 GB, free: 7.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5537, allocations: 81.3 kB / 0.57 GB, free: 7.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5537, allocations: 0 / 0.57 GB, free: 7.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003148/0.554, allocations: 261.6 kB / 0.5702 GB, free: 7.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5541, allocations: 8 kB / 0.5703 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5541, allocations: 4 kB / 0.5703 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5541, allocations: 4 kB / 0.5703 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.5544, allocations: 83.58 kB / 0.5703 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5544, allocations: 4 kB / 0.5703 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5547, allocations: 63.22 kB / 0.5704 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.5547, allocations: 11.94 kB / 0.5704 GB, free: 7.211 MB / 394.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 () * 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 6.161e-05/0.5548, allocations: 119.7 kB / 0.5705 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.5549, allocations: 27.62 kB / 0.5706 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.5549, allocations: 33.16 kB / 0.5706 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5549, allocations: 4.078 kB / 0.5706 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.555, allocations: 4 kB / 0.5706 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.555, allocations: 7.984 kB / 0.5706 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.5556, allocations: 0.5861 MB / 0.5712 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5556, allocations: 4 kB / 0.5712 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5558, allocations: 44.12 kB / 0.5712 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5558, allocations: 4 kB / 0.5712 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5558, allocations: 11.05 kB / 0.5712 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5558, allocations: 0 / 0.5712 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5559, allocations: 7.938 kB / 0.5712 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.5561, allocations: 410.4 kB / 0.5716 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.5562, allocations: 123.8 kB / 0.5718 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.5562, allocations: 3.562 kB / 0.5718 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.5564, allocations: 19.98 kB / 0.5718 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.5565, allocations: 19.5 kB / 0.5718 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5565, allocations: 8 kB / 0.5718 GB, free: 5.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.5567, allocations: 228 kB / 0.572 GB, free: 5.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5567, allocations: 0 / 0.572 GB, free: 5.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.557, allocations: 67.59 kB / 0.5721 GB, free: 5.527 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 () * 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.0004832/0.5575, allocations: 1.367 MB / 0.5734 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.5578, allocations: 138.2 kB / 0.5736 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5578, allocations: 4 kB / 0.5736 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.5579, allocations: 57.44 kB / 0.5736 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.5582, allocations: 22.95 kB / 0.5736 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.559, allocations: 417.5 kB / 0.574 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.5592, allocations: 0.7837 MB / 0.5748 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.5593, allocations: 26.06 kB / 0.5748 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5594, allocations: 99.16 kB / 0.5749 GB, free: 2.699 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5594, allocations: 0 / 0.5749 GB, free: 2.699 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.5737, allocations: 4.468 MB / 0.5793 GB, free: 14.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.5739, allocations: 136.8 kB / 0.5794 GB, free: 14.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.585, allocations: 0 / 0.5794 GB, free: 14.08 MB / 410.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