Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",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.00113/0.00113, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 82.3 kB / 261.7 MB, free: 1.684 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.2314/0.2314, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.515e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5212, allocations: 86.68 MB / 0.5507 GB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.5214, allocations: 70.88 kB / 0.5507 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006536/0.5279, allocations: 2.788 MB / 0.5535 GB, free: 5.859 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.528, allocations: 0 / 0.5535 GB, free: 5.859 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.528, allocations: 4 kB / 0.5535 GB, free: 5.855 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004724/0.5285, allocations: 415.6 kB / 0.5539 GB, free: 5.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.5285, allocations: 8.031 kB / 0.5539 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.5286, allocations: 15.81 kB / 0.5539 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.5288, allocations: 208.9 kB / 0.5541 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5288, allocations: 4 kB / 0.5541 GB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.5288, allocations: 8 kB / 0.5541 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/0.529, allocations: 67.38 kB / 0.5542 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5292, allocations: 103.7 kB / 0.5543 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5292, allocations: 3.984 kB / 0.5543 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5292, allocations: 3.938 kB / 0.5543 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5293, allocations: 8 kB / 0.5543 GB, free: 5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.5299, allocations: 0.5146 MB / 0.5548 GB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.5301, allocations: 58.11 kB / 0.5548 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.5301, allocations: 19.55 kB / 0.5548 GB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5302, allocations: 3.938 kB / 0.5548 GB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.5302, allocations: 30.56 kB / 0.5549 GB, free: 4.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.5302, allocations: 0 / 0.5549 GB, free: 4.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001614/0.5304, allocations: 60.41 kB / 0.5549 GB, free: 4.332 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.5304, allocations: 51.41 kB / 0.555 GB, free: 4.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.5305, allocations: 133 kB / 0.5551 GB, free: 4.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.5305, allocations: 29.7 kB / 0.5551 GB, free: 4.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.5306, allocations: 137.1 kB / 0.5553 GB, free: 3.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.5306, allocations: 15.12 kB / 0.5553 GB, free: 3.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5306, allocations: 0 / 0.5553 GB, free: 3.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.5306, allocations: 322.1 kB / 0.5556 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.5307, allocations: 18.25 kB / 0.5556 GB, free: 3.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.5307, allocations: 47.3 kB / 0.5557 GB, free: 3.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.5308, allocations: 30.48 kB / 0.5557 GB, free: 3.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5308, allocations: 0 / 0.5557 GB, free: 3.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001164/0.5309, allocations: 87.34 kB / 0.5558 GB, free: 3.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5309, allocations: 4 kB / 0.5558 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5309, allocations: 8.188 kB / 0.5558 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.531, allocations: 4 kB / 0.5558 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.5311, allocations: 35.91 kB / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5311, allocations: 0 / 0.5558 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.5312, allocations: 11.95 kB / 0.5558 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5312, allocations: 4 kB / 0.5558 GB, free: 3.418 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.158e-05/0.5313, allocations: 112.9 kB / 0.5559 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.058e-05/0.5314, allocations: 64.03 kB / 0.556 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.5314, allocations: 7.906 kB / 0.556 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.5314, allocations: 19.83 kB / 0.556 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5314, allocations: 3.953 kB / 0.556 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5315, allocations: 0 / 0.556 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5315, allocations: 3.984 kB / 0.556 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.5316, allocations: 171.6 kB / 0.5562 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5316, allocations: 0 / 0.5562 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.5317, allocations: 23.98 kB / 0.5562 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5317, allocations: 0 / 0.5562 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.5317, allocations: 0 / 0.5562 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5317, allocations: 0 / 0.5562 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5317, allocations: 0 / 0.5562 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.5318, allocations: 159.7 kB / 0.5564 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.5319, allocations: 85.02 kB / 0.5565 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5319, allocations: 0 / 0.5565 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.532, allocations: 15.98 kB / 0.5565 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.532, allocations: 0 / 0.5565 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.532, allocations: 7.938 kB / 0.5565 GB, free: 2.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.5321, allocations: 105 kB / 0.5566 GB, free: 2.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5321, allocations: 0 / 0.5566 GB, free: 2.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.5323, allocations: 27.84 kB / 0.5566 GB, free: 2.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0002823/0.5326, allocations: 0.6888 MB / 0.5573 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.5327, allocations: 52.19 kB / 0.5573 GB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5327, allocations: 0 / 0.5573 GB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.5328, allocations: 11.44 kB / 0.5573 GB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.533, allocations: 19.25 kB / 0.5574 GB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.5334, allocations: 172.8 kB / 0.5575 GB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.5336, allocations: 0.7119 MB / 0.5582 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.297e-05/0.5336, allocations: 7.938 kB / 0.5582 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.5337, allocations: 39.98 kB / 0.5583 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5337, allocations: 0 / 0.5583 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.5547, allocations: 1.483 MB / 0.5597 GB, free: 15.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.555, allocations: 128.5 kB / 0.5598 GB, free: 15.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.117, allocations: 0 / 0.5598 GB, free: 15.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat