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.001418/0.001418, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009439/0.0009444, allocations: 105.9 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3858/0.3858, allocations: 45.22 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003417, allocations: 8.219 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3376, allocations: 63.24 MB / 0.5193 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4684, allocations: 90.02 MB / 0.6072 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4687, allocations: 75.94 kB / 0.6073 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008689/0.4775, allocations: 3.017 MB / 0.6102 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.711e-06/0.4775, allocations: 0 / 0.6102 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4775, allocations: 7.938 kB / 0.6102 GB, free: 10.19 MB / 426.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.0007191/0.4782, allocations: 439.1 kB / 0.6106 GB, free: 9.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.4783, allocations: 8.031 kB / 0.6106 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.4784, allocations: 50.55 kB / 0.6107 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4785, allocations: 11.81 kB / 0.6107 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.4788, allocations: 214.8 kB / 0.6109 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4788, allocations: 8.281 kB / 0.6109 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4789, allocations: 16 kB / 0.6109 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.4792, allocations: 135.9 kB / 0.6111 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4792, allocations: 0 / 0.6111 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.4793, allocations: 8 kB / 0.6111 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4793, allocations: 0 / 0.6111 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4796, allocations: 124.7 kB / 0.6112 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.4807, allocations: 0.5587 MB / 0.6117 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.481, allocations: 74.56 kB / 0.6118 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.481, allocations: 0 / 0.6118 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.481, allocations: 34.56 kB / 0.6118 GB, free: 8.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.481, allocations: 3.938 kB / 0.6118 GB, free: 8.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004377/0.4815, allocations: 133.5 kB / 0.612 GB, free: 8.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4815, allocations: 55.36 kB / 0.612 GB, free: 8.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.4817, allocations: 143.6 kB / 0.6122 GB, free: 7.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4817, allocations: 29.7 kB / 0.6122 GB, free: 7.953 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4818, allocations: 131.5 kB / 0.6123 GB, free: 7.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4819, allocations: 19.73 kB / 0.6123 GB, free: 7.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.4819, allocations: 0 / 0.6123 GB, free: 7.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.482, allocations: 322.8 kB / 0.6126 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4822, allocations: 27.98 kB / 0.6127 GB, free: 7.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4823, allocations: 72.2 kB / 0.6127 GB, free: 7.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4824, allocations: 43.98 kB / 0.6128 GB, free: 7.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4824, allocations: 0 / 0.6128 GB, free: 7.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003201/0.4828, allocations: 137.5 kB / 0.6129 GB, free: 7.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4828, allocations: 8 kB / 0.6129 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4828, allocations: 0 / 0.6129 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4828, allocations: 4 kB / 0.6129 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.483, allocations: 35.91 kB / 0.6129 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.483, allocations: 4 kB / 0.613 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4831, allocations: 19.84 kB / 0.613 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4832, allocations: 4 kB / 0.613 GB, free: 7.105 MB / 426.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.000123/0.4833, allocations: 129.8 kB / 0.6131 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4833, allocations: 7.906 kB / 0.6131 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.4834, allocations: 12.3 kB / 0.6131 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4834, allocations: 0 / 0.6131 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.4834, allocations: 0 / 0.6131 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4834, allocations: 4 kB / 0.6131 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.4837, allocations: 209.6 kB / 0.6133 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4837, allocations: 0 / 0.6133 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.4838, allocations: 19.98 kB / 0.6133 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4838, allocations: 4 kB / 0.6133 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4838, allocations: 3.938 kB / 0.6133 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4839, allocations: 0 / 0.6133 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4839, allocations: 0 / 0.6133 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.4842, allocations: 199.6 kB / 0.6135 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.4843, allocations: 85.08 kB / 0.6136 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4843, allocations: 4 kB / 0.6136 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.4844, allocations: 7.984 kB / 0.6136 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4845, allocations: 7.984 kB / 0.6136 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4845, allocations: 0 / 0.6136 GB, free: 6.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4846, allocations: 114.6 kB / 0.6137 GB, free: 6.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.043e-06/0.4846, allocations: 4 kB / 0.6138 GB, free: 6.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.4849, allocations: 39.72 kB / 0.6138 GB, free: 6.184 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.0006933/0.4856, allocations: 0.7318 MB / 0.6145 GB, free: 5.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.4859, allocations: 83.89 kB / 0.6146 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4859, allocations: 0 / 0.6146 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.486, allocations: 31.97 kB / 0.6146 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4862, allocations: 8 kB / 0.6146 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4878, allocations: 1.37 MB / 0.616 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.4882, allocations: 0.7158 MB / 0.6167 GB, free: 3.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.4882, allocations: 4.672 kB / 0.6167 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.4883, allocations: 39.42 kB / 0.6167 GB, free: 3.086 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4883, allocations: 0 / 0.6167 GB, free: 3.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.5024, allocations: 1.97 MB / 0.6186 GB, free: 1.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.5027, allocations: 172.4 kB / 0.6188 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.184, allocations: 0 / 0.6188 GB, free: 0.9922 MB / 426.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