Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 177.9 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009593, allocations: 98.84 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3976/0.3976, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3978, allocations: 61.9 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5321, allocations: 88.93 MB / 0.5965 GB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.5325, allocations: 83.92 kB / 0.5966 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008393/0.5409, allocations: 2.935 MB / 0.5994 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5409, allocations: 0 / 0.5994 GB, free: 3.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5409, allocations: 4 kB / 0.5994 GB, free: 3.148 MB / 410.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.0006224/0.5416, allocations: 427.1 kB / 0.5998 GB, free: 2.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5416, allocations: 8.031 kB / 0.5998 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.578e-05/0.5417, allocations: 54.48 kB / 0.5999 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.5417, allocations: 15.81 kB / 0.5999 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.542, allocations: 199.2 kB / 0.6001 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.542, allocations: 12.22 kB / 0.6001 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5421, allocations: 19.94 kB / 0.6001 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.5424, allocations: 143.8 kB / 0.6003 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5424, allocations: 0 / 0.6003 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5424, allocations: 8 kB / 0.6003 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5424, allocations: 4 kB / 0.6003 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.5427, allocations: 108.8 kB / 0.6004 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.5436, allocations: 0.563 MB / 0.6009 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5439, allocations: 82.61 kB / 0.601 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5439, allocations: 0 / 0.601 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.544, allocations: 34.5 kB / 0.601 GB, free: 1.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.544, allocations: 0 / 0.601 GB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000423/0.5444, allocations: 125.7 kB / 0.6012 GB, free: 1.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.5445, allocations: 51.41 kB / 0.6012 GB, free: 1.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5446, allocations: 147.5 kB / 0.6014 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5446, allocations: 25.7 kB / 0.6014 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.5447, allocations: 135.5 kB / 0.6015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.5448, allocations: 11.72 kB / 0.6015 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.5448, allocations: 8 kB / 0.6015 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5449, allocations: 326.8 kB / 0.6018 GB, free: 464 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.545, allocations: 31.97 kB / 0.6019 GB, free: 432 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5452, allocations: 76.14 kB / 0.6019 GB, free: 340 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5453, allocations: 35.98 kB / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5453, allocations: 0 / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002983/0.5456, allocations: 145.4 kB / 0.6021 GB, free: 152 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5456, allocations: 7.984 kB / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5456, allocations: 0 / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5457, allocations: 4 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5458, allocations: 32.11 kB / 0.6022 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5458, allocations: 0 / 0.6022 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.5459, allocations: 19.92 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.546, allocations: 7.938 kB / 0.6022 GB, free: 80 kB / 410.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 () * Number of clocked 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 0.0001384/0.5461, allocations: 130.3 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.5461, allocations: 11.81 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.5462, allocations: 8.312 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5462, allocations: 3.984 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5462, allocations: 8 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5462, allocations: 3.984 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.5464, allocations: 205.6 kB / 0.6025 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5465, allocations: 0 / 0.6025 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.5466, allocations: 15.98 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5466, allocations: 4 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.5466, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5466, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5466, allocations: 0 / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5469, allocations: 195.6 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.547, allocations: 96.89 kB / 0.6028 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.547, allocations: 8.062 kB / 0.6028 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.5471, allocations: 8 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5472, allocations: 7.984 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.5472, allocations: 0 / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.5473, allocations: 117.7 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5473, allocations: 0 / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.5476, allocations: 23.91 kB / 0.603 GB, free: 15.16 MB / 426.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 () * Number of clocked 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.0006918/0.5483, allocations: 0.7241 MB / 0.6037 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.5486, allocations: 83.89 kB / 0.6038 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5486, allocations: 0 / 0.6038 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5487, allocations: 40.16 kB / 0.6038 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5489, allocations: 8 kB / 0.6038 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5507, allocations: 1.373 MB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.551, allocations: 0.7119 MB / 0.6059 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.5511, allocations: 4.672 kB / 0.6059 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.5512, allocations: 35.42 kB / 0.6059 GB, free: 12.06 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5512, allocations: 4 kB / 0.6059 GB, free: 12.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.5645, allocations: 1.929 MB / 0.6078 GB, free: 10.25 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.5648, allocations: 176.4 kB / 0.608 GB, free: 10.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.153, allocations: 0 / 0.608 GB, free: 10.01 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat