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.001047/0.001047, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008558/0.0008558, allocations: 98.03 kB / 281.6 MB, free: 5.316 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.221/0.221, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.566e-05, allocations: 4.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5573, allocations: 88.19 MB / 0.5809 GB, free: 8.172 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5576, allocations: 75.95 kB / 0.581 GB, free: 8.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007945/0.5656, allocations: 2.883 MB / 0.5838 GB, free: 5.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5656, allocations: 0 / 0.5838 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.5657, allocations: 4 kB / 0.5838 GB, free: 5.223 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005429/0.5662, allocations: 422.4 kB / 0.5842 GB, free: 4.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5663, allocations: 15.98 kB / 0.5842 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.5663, allocations: 8.406 kB / 0.5842 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.5666, allocations: 204.5 kB / 0.5844 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5666, allocations: 4 kB / 0.5844 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.5666, allocations: 8 kB / 0.5844 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000188/0.5668, allocations: 84.45 kB / 0.5845 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.567, allocations: 100.8 kB / 0.5846 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.567, allocations: 0 / 0.5846 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5671, allocations: 4 kB / 0.5846 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5671, allocations: 6.953 kB / 0.5846 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.5679, allocations: 0.5192 MB / 0.5851 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.5681, allocations: 50.59 kB / 0.5852 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.5681, allocations: 16.98 kB / 0.5852 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5681, allocations: 0 / 0.5852 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5682, allocations: 38.56 kB / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.5682, allocations: 0 / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001718/0.5684, allocations: 61.58 kB / 0.5853 GB, free: 3.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5684, allocations: 55.41 kB / 0.5853 GB, free: 3.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.5685, allocations: 127.7 kB / 0.5854 GB, free: 3.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5686, allocations: 29.64 kB / 0.5855 GB, free: 3.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.5687, allocations: 139.4 kB / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.5687, allocations: 11.75 kB / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5687, allocations: 0 / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5688, allocations: 326.8 kB / 0.5859 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.5689, allocations: 12 kB / 0.5859 GB, free: 2.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.5689, allocations: 48.3 kB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.569, allocations: 27.97 kB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.569, allocations: 0 / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001614/0.5692, allocations: 93.58 kB / 0.5861 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5692, allocations: 12 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5692, allocations: 0 / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5692, allocations: 3.938 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.5694, allocations: 31.97 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5694, allocations: 0 / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.5695, allocations: 11.94 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.5695, allocations: 7.984 kB / 0.5862 GB, free: 2.551 MB / 394.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.434e-05/0.5696, allocations: 120.9 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001032/0.5697, allocations: 57.61 kB / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.5698, allocations: 7.906 kB / 0.5863 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.5698, allocations: 12.39 kB / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5698, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5698, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5699, allocations: 4 kB / 0.5864 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.5701, allocations: 178.2 kB / 0.5865 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5701, allocations: 0 / 0.5865 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5702, allocations: 27.92 kB / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5702, allocations: 0 / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5702, allocations: 0 / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5702, allocations: 0 / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5703, allocations: 0 / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5704, allocations: 163.4 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.5705, allocations: 81.02 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.5705, allocations: 0 / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5706, allocations: 15.98 kB / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.5707, allocations: 0 / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5707, allocations: 8 kB / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.5708, allocations: 99.27 kB / 0.5869 GB, free: 1.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5708, allocations: 0 / 0.5869 GB, free: 1.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.5711, allocations: 23.94 kB / 0.5869 GB, free: 1.68 MB / 394.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.0005428/0.5716, allocations: 0.6967 MB / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.5718, allocations: 43.92 kB / 0.5877 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5718, allocations: 3.938 kB / 0.5877 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.5718, allocations: 16 kB / 0.5877 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.572, allocations: 5.5 kB / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.5726, allocations: 178.3 kB / 0.5878 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.5729, allocations: 0.708 MB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.573, allocations: 11.89 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5731, allocations: 35.36 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5731, allocations: 0 / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.5941, allocations: 1.502 MB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.5945, allocations: 131.3 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.068, allocations: 0 / 0.5902 GB, free: 14.21 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