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.001041/0.001041, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008447, allocations: 87.72 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1696/0.1696, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.556e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08573, allocations: 63.24 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4192, allocations: 89.96 MB / 0.5993 GB, free: 3.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4195, allocations: 77.02 kB / 0.5994 GB, free: 3.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007729/0.4272, allocations: 3.004 MB / 0.6023 GB, free: 1.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4273, allocations: 0 / 0.6023 GB, free: 1.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.4273, allocations: 4 kB / 0.6023 GB, free: 1.328 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.0005025/0.4278, allocations: 426.7 kB / 0.6027 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4278, allocations: 15.95 kB / 0.6027 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.4279, allocations: 43.44 kB / 0.6028 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.4279, allocations: 11.91 kB / 0.6028 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.4282, allocations: 208.7 kB / 0.603 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4282, allocations: 11.39 kB / 0.603 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.4282, allocations: 11.44 kB / 0.603 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4285, allocations: 127.3 kB / 0.6031 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4285, allocations: 4 kB / 0.6031 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4285, allocations: 3.062 kB / 0.6031 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4285, allocations: 4 kB / 0.6031 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4286, allocations: 76.28 kB / 0.6032 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.4294, allocations: 0.558 MB / 0.6038 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4296, allocations: 57.41 kB / 0.6038 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.4296, allocations: 20.8 kB / 0.6038 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.4297, allocations: 0 / 0.6038 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4297, allocations: 38.5 kB / 0.6039 GB, free: 15.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.4297, allocations: 4 kB / 0.6039 GB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000153/0.4298, allocations: 68.66 kB / 0.6039 GB, free: 15.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.4299, allocations: 51.41 kB / 0.604 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.43, allocations: 142.6 kB / 0.6041 GB, free: 15.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.43, allocations: 25.7 kB / 0.6041 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.4301, allocations: 135.2 kB / 0.6043 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.4301, allocations: 14.44 kB / 0.6043 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.4301, allocations: 0 / 0.6043 GB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4303, allocations: 322.8 kB / 0.6046 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.4303, allocations: 19.5 kB / 0.6046 GB, free: 14.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.4304, allocations: 52.48 kB / 0.6047 GB, free: 14.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.4304, allocations: 27.23 kB / 0.6047 GB, free: 14.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4304, allocations: 0 / 0.6047 GB, free: 14.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001464/0.4306, allocations: 95.97 kB / 0.6048 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4306, allocations: 15.92 kB / 0.6048 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4306, allocations: 0 / 0.6048 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4306, allocations: 7.938 kB / 0.6048 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4308, allocations: 23.98 kB / 0.6048 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4308, allocations: 7.953 kB / 0.6048 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.4309, allocations: 27.27 kB / 0.6049 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4309, allocations: 7.984 kB / 0.6049 GB, free: 14.72 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 6.616e-05/0.431, allocations: 107.7 kB / 0.605 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.431, allocations: 7.906 kB / 0.605 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.431, allocations: 11.22 kB / 0.605 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.431, allocations: 0 / 0.605 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4311, allocations: 0 / 0.605 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4311, allocations: 3.953 kB / 0.605 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4313, allocations: 213.3 kB / 0.6052 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4313, allocations: 4 kB / 0.6052 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.4314, allocations: 19.73 kB / 0.6052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4314, allocations: 0 / 0.6052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4314, allocations: 4 kB / 0.6052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4314, allocations: 0 / 0.6052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4314, allocations: 0 / 0.6052 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.4315, allocations: 161 kB / 0.6054 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.4316, allocations: 92.45 kB / 0.6055 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4316, allocations: 3.984 kB / 0.6055 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.4317, allocations: 8.125 kB / 0.6055 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.4318, allocations: 11.92 kB / 0.6055 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4318, allocations: 4 kB / 0.6055 GB, free: 14.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.4318, allocations: 112.9 kB / 0.6056 GB, free: 13.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4319, allocations: 0 / 0.6056 GB, free: 13.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.4321, allocations: 31.28 kB / 0.6056 GB, free: 13.91 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.0003841/0.4325, allocations: 0.7002 MB / 0.6063 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.4326, allocations: 49.62 kB / 0.6064 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4326, allocations: 256 / 0.6064 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.4326, allocations: 23.56 kB / 0.6064 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.4328, allocations: 7.062 kB / 0.6064 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.4332, allocations: 179.6 kB / 0.6066 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4335, allocations: 0.7119 MB / 0.6073 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.4336, allocations: 8.672 kB / 0.6073 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.4336, allocations: 31.55 kB / 0.6073 GB, free: 12.18 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4336, allocations: 7.938 kB / 0.6073 GB, free: 12.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.4459, allocations: 1.976 MB / 0.6092 GB, free: 10.31 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.4461, allocations: 144.3 kB / 0.6094 GB, free: 10.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.894, allocations: 0 / 0.6094 GB, free: 10.09 MB / 410.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