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.001819/0.001819, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.426/1.426, allocations: 221.4 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008473, allocations: 95.73 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.871e-05, allocations: 224 / 451.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5691, allocations: 88.85 MB / 0.5886 GB, free: 436 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.5694, allocations: 71.97 kB / 0.5886 GB, free: 364 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008116/0.5775, allocations: 2.918 MB / 0.5915 GB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5776, allocations: 0 / 0.5915 GB, free: 13.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.5776, allocations: 4 kB / 0.5915 GB, free: 13.43 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.0006227/0.5782, allocations: 423.2 kB / 0.5919 GB, free: 12.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5783, allocations: 8.031 kB / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.5783, allocations: 50.38 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.5784, allocations: 11.91 kB / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.5786, allocations: 211 kB / 0.5922 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5787, allocations: 8.281 kB / 0.5922 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.5787, allocations: 15.95 kB / 0.5922 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.579, allocations: 123.9 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.579, allocations: 4 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.579, allocations: 4 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.579, allocations: 4 kB / 0.5923 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.5792, allocations: 80.83 kB / 0.5924 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.58, allocations: 0.5568 MB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5802, allocations: 58.55 kB / 0.593 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.5803, allocations: 20.97 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5803, allocations: 4.031 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.5804, allocations: 38.56 kB / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.5804, allocations: 0 / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001762/0.5806, allocations: 61.61 kB / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5806, allocations: 51.41 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5807, allocations: 144.4 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5808, allocations: 25.7 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.5809, allocations: 135.4 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.5809, allocations: 23.73 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5809, allocations: 4 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.581, allocations: 318.8 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.5811, allocations: 27.86 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.5812, allocations: 44.3 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.5812, allocations: 25.17 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5812, allocations: 4 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001734/0.5814, allocations: 105.4 kB / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5814, allocations: 7.938 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5814, allocations: 4 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5815, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5816, allocations: 27.98 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5816, allocations: 4.125 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5817, allocations: 19.83 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5818, allocations: 8.078 kB / 0.594 GB, free: 10.57 MB / 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 () * 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 9.054e-05/0.5819, allocations: 112.9 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.5819, allocations: 7.906 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.5819, allocations: 12.08 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.582, allocations: 4 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.582, allocations: 0 / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.582, allocations: 4 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.5822, allocations: 205.6 kB / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5822, allocations: 0 / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.644e-05/0.5823, allocations: 19.98 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5823, allocations: 0 / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5824, allocations: 8.047 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5824, allocations: 3.984 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5824, allocations: 0 / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.5825, allocations: 171.4 kB / 0.5946 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.5826, allocations: 88.97 kB / 0.5947 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.5827, allocations: 4 kB / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.5828, allocations: 7.984 kB / 0.5947 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.5828, allocations: 4 kB / 0.5947 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5828, allocations: 0 / 0.5947 GB, free: 9.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.5829, allocations: 115.2 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5829, allocations: 4 kB / 0.5948 GB, free: 9.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.5832, allocations: 27.84 kB / 0.5948 GB, free: 9.695 MB / 410.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.0004689/0.5837, allocations: 0.6967 MB / 0.5955 GB, free: 8.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.5838, allocations: 47.94 kB / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5838, allocations: 0 / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.5838, allocations: 19.98 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.584, allocations: 9.406 kB / 0.5956 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.5846, allocations: 174.1 kB / 0.5957 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.5849, allocations: 0.716 MB / 0.5964 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.5849, allocations: 0.6719 kB / 0.5964 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.585, allocations: 35.42 kB / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.585, allocations: 0 / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.5984, allocations: 1.935 MB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.5986, allocations: 149.3 kB / 0.5985 GB, free: 5.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.182, allocations: 4 kB / 0.5985 GB, free: 5.855 MB / 410.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