Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 199 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.44/1.44, allocations: 227.2 MB / 245 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 91.58 kB / 297.2 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5412/0.5412, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002449/0.0002448, allocations: 8 kB / 468.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3713, allocations: 63.25 MB / 0.5193 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5254, allocations: 90.57 MB / 0.6077 GB, free: 15.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5258, allocations: 76.52 kB / 0.6078 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02099/0.5468, allocations: 7.334 MB / 0.6149 GB, free: 7.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5468, allocations: 0 / 0.6149 GB, free: 7.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.5469, allocations: 8 kB / 0.615 GB, free: 7.652 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001225/0.5481, allocations: 0.6315 MB / 0.6156 GB, free: 6.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5482, allocations: 8.031 kB / 0.6156 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.5483, allocations: 74.53 kB / 0.6157 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.5484, allocations: 47.44 kB / 0.6157 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.5488, allocations: 290.3 kB / 0.616 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.5488, allocations: 21 kB / 0.616 GB, free: 6.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.5489, allocations: 32 kB / 0.616 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.5496, allocations: 362.7 kB / 0.6164 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5496, allocations: 4 kB / 0.6164 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.5497, allocations: 12 kB / 0.6164 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5497, allocations: 12 kB / 0.6164 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.5503, allocations: 290.1 kB / 0.6167 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.5524, allocations: 1.292 MB / 0.6179 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.5529, allocations: 214.5 kB / 0.6181 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.553, allocations: 4 kB / 0.6181 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.553, allocations: 38.75 kB / 0.6182 GB, free: 4.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.553, allocations: 0 / 0.6182 GB, free: 4.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008642/0.5539, allocations: 273.2 kB / 0.6184 GB, free: 3.832 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.554, allocations: 136.5 kB / 0.6186 GB, free: 3.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.5543, allocations: 296.8 kB / 0.6189 GB, free: 3.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5544, allocations: 33.7 kB / 0.6189 GB, free: 3.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.5545, allocations: 235.6 kB / 0.6191 GB, free: 3.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.5546, allocations: 55.28 kB / 0.6192 GB, free: 3.039 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.5546, allocations: 4 kB / 0.6192 GB, free: 3.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5548, allocations: 346.8 kB / 0.6195 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.5551, allocations: 92.44 kB / 0.6196 GB, free: 2.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5554, allocations: 176.2 kB / 0.6198 GB, free: 2.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.5557, allocations: 107.9 kB / 0.6199 GB, free: 2.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5557, allocations: 7.953 kB / 0.6199 GB, free: 2.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006793/0.5564, allocations: 329 kB / 0.6202 GB, free: 1.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5564, allocations: 4 kB / 0.6202 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5564, allocations: 4 kB / 0.6202 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5565, allocations: 4 kB / 0.6202 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.5568, allocations: 80.02 kB / 0.6203 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.5569, allocations: 4 kB / 0.6203 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5572, allocations: 60.02 kB / 0.6203 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.5572, allocations: 15.98 kB / 0.6203 GB, free: 1.773 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001873/0.5574, allocations: 149.7 kB / 0.6205 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5575, allocations: 35.58 kB / 0.6205 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.5576, allocations: 34.41 kB / 0.6206 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5576, allocations: 4 kB / 0.6206 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5576, allocations: 0 / 0.6206 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5576, allocations: 4 kB / 0.6206 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/0.5585, allocations: 0.5954 MB / 0.6211 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5586, allocations: 4.156 kB / 0.6211 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.5588, allocations: 47.97 kB / 0.6212 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5588, allocations: 0 / 0.6212 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.5589, allocations: 4 kB / 0.6212 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.5589, allocations: 7.938 kB / 0.6212 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5589, allocations: 0 / 0.6212 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.5596, allocations: 493.1 kB / 0.6217 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5597, allocations: 108.7 kB / 0.6218 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.5597, allocations: 15.97 kB / 0.6218 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.56, allocations: 15.98 kB / 0.6218 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.5601, allocations: 19.94 kB / 0.6218 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5601, allocations: 8 kB / 0.6218 GB, free: 80 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.5604, allocations: 235.2 kB / 0.6221 GB, free: 15.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5604, allocations: 0 / 0.6221 GB, free: 15.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000443/0.5609, allocations: 75.75 kB / 0.6221 GB, free: 15.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.001104/0.562, allocations: 1.437 MB / 0.6235 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.5625, allocations: 207.8 kB / 0.6237 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5625, allocations: 0 / 0.6237 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.5628, allocations: 96.58 kB / 0.6238 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.5631, allocations: 32.22 kB / 0.6239 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.5669, allocations: 3.579 MB / 0.6274 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5673, allocations: 0.7839 MB / 0.6281 GB, free: 9.438 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.5674, allocations: 21.95 kB / 0.6281 GB, free: 9.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5676, allocations: 103.4 kB / 0.6282 GB, free: 9.312 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5676, allocations: 0 / 0.6282 GB, free: 9.312 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.586, allocations: 4.557 MB / 0.6327 GB, free: 4.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.5863, allocations: 178.4 kB / 0.6329 GB, free: 4.664 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.806, allocations: 0 / 0.6329 GB, free: 4.664 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat