Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007993/0.0007993, allocations: 94.16 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 45.14 MB / 383.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.85e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4574, allocations: 89.28 MB / 0.5916 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.4577, allocations: 78.08 kB / 0.5917 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007633/0.4653, allocations: 2.985 MB / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4653, allocations: 0 / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4654, allocations: 4 kB / 0.5946 GB, free: 10.45 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.000498/0.4659, allocations: 424.8 kB / 0.595 GB, free: 9.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4659, allocations: 12.03 kB / 0.595 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.466, allocations: 15.89 kB / 0.5951 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.4662, allocations: 200.3 kB / 0.5953 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4662, allocations: 8 kB / 0.5953 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4662, allocations: 8 kB / 0.5953 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001559/0.4664, allocations: 77.11 kB / 0.5953 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4666, allocations: 99.58 kB / 0.5954 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4666, allocations: 0 / 0.5954 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4666, allocations: 0 / 0.5954 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4666, allocations: 4 kB / 0.5954 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.4674, allocations: 0.5238 MB / 0.596 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.4676, allocations: 56.91 kB / 0.596 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.4676, allocations: 12.3 kB / 0.596 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4676, allocations: 4 kB / 0.596 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4677, allocations: 34.59 kB / 0.5961 GB, free: 8.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4677, allocations: 0 / 0.5961 GB, free: 8.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001617/0.4678, allocations: 63.61 kB / 0.5961 GB, free: 8.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.4679, allocations: 51.41 kB / 0.5962 GB, free: 8.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.468, allocations: 129.9 kB / 0.5963 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.468, allocations: 25.7 kB / 0.5963 GB, free: 8.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.4681, allocations: 141 kB / 0.5964 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.4681, allocations: 15.8 kB / 0.5965 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4681, allocations: 0 / 0.5965 GB, free: 8.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4682, allocations: 321 kB / 0.5968 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.4683, allocations: 18.31 kB / 0.5968 GB, free: 8.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.4683, allocations: 54.97 kB / 0.5968 GB, free: 8.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.4684, allocations: 18.5 kB / 0.5969 GB, free: 8.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4684, allocations: 0 / 0.5969 GB, free: 8.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001438/0.4685, allocations: 91.64 kB / 0.5969 GB, free: 8.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4686, allocations: 4 kB / 0.5969 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4686, allocations: 4 kB / 0.597 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4686, allocations: 3.984 kB / 0.597 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4687, allocations: 35.36 kB / 0.597 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4687, allocations: 0 / 0.597 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.4688, allocations: 23.78 kB / 0.597 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4688, allocations: 8.125 kB / 0.597 GB, free: 7.988 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 6.074e-05/0.4689, allocations: 101 kB / 0.5971 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001005/0.469, allocations: 66.72 kB / 0.5972 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4691, allocations: 7.906 kB / 0.5972 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.4691, allocations: 11.84 kB / 0.5972 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4691, allocations: 3.953 kB / 0.5972 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4691, allocations: 0 / 0.5972 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4691, allocations: 0 / 0.5972 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4693, allocations: 175.5 kB / 0.5974 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4693, allocations: 4 kB / 0.5974 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4694, allocations: 23.11 kB / 0.5974 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4694, allocations: 0 / 0.5974 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4694, allocations: 3.938 kB / 0.5974 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4694, allocations: 4.125 kB / 0.5974 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4694, allocations: 0 / 0.5974 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4696, allocations: 165.5 kB / 0.5976 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.4696, allocations: 85.02 kB / 0.5976 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4696, allocations: 0 / 0.5976 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.4697, allocations: 11.98 kB / 0.5977 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.4698, allocations: 3.984 kB / 0.5977 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4698, allocations: 4 kB / 0.5977 GB, free: 7.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.82e-05/0.4699, allocations: 100.7 kB / 0.5978 GB, free: 7.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.964e-06/0.4699, allocations: 0 / 0.5978 GB, free: 7.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000231/0.4701, allocations: 31.78 kB / 0.5978 GB, free: 7.164 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.0004143/0.4705, allocations: 0.6937 MB / 0.5985 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.4706, allocations: 41.31 kB / 0.5985 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4707, allocations: 0 / 0.5985 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.4707, allocations: 23.56 kB / 0.5985 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4709, allocations: 4.906 kB / 0.5985 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.4714, allocations: 181.2 kB / 0.5987 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4717, allocations: 0.7086 MB / 0.5994 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4718, allocations: 15.94 kB / 0.5994 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.4718, allocations: 38.86 kB / 0.5994 GB, free: 5.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4718, allocations: 0 / 0.5994 GB, free: 5.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.491, allocations: 1.525 MB / 0.6009 GB, free: 3.922 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.4913, allocations: 137.4 kB / 0.6011 GB, free: 3.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.049, allocations: 0 / 0.6011 GB, free: 3.727 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat