Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 201.1 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009185/0.0009185, allocations: 100.6 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4451/0.4451, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 4.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5236, allocations: 63.24 MB / 0.5193 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.651, allocations: 91.42 MB / 0.6086 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.6513, allocations: 79.92 kB / 0.6086 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.6709, allocations: 7.124 MB / 0.6156 GB, free: 7.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.998e-06/0.6709, allocations: 4 kB / 0.6156 GB, free: 7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.6709, allocations: 7.938 kB / 0.6156 GB, free: 6.992 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001109/0.6721, allocations: 0.5737 MB / 0.6162 GB, free: 6.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.6721, allocations: 8.031 kB / 0.6162 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.6722, allocations: 54.55 kB / 0.6162 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.6724, allocations: 47.52 kB / 0.6163 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.6729, allocations: 286 kB / 0.6165 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.673, allocations: 16.56 kB / 0.6165 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.673, allocations: 24 kB / 0.6166 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.6736, allocations: 248.8 kB / 0.6168 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6736, allocations: 7.984 kB / 0.6168 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.6737, allocations: 12 kB / 0.6168 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.6737, allocations: 7.938 kB / 0.6168 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.6742, allocations: 242.1 kB / 0.6171 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.6758, allocations: 0.885 MB / 0.6179 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.6767, allocations: 341.2 kB / 0.6183 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.6768, allocations: 7.938 kB / 0.6183 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.6768, allocations: 46.45 kB / 0.6183 GB, free: 4.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.6768, allocations: 0 / 0.6183 GB, free: 4.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004758/0.6816, allocations: 1.248 MB / 0.6195 GB, free: 2.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6816, allocations: 59.34 kB / 0.6196 GB, free: 2.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.6819, allocations: 204.7 kB / 0.6198 GB, free: 2.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.6819, allocations: 29.7 kB / 0.6198 GB, free: 2.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.682, allocations: 168.4 kB / 0.62 GB, free: 2.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.6821, allocations: 110.5 kB / 0.6201 GB, free: 2.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.6822, allocations: 8 kB / 0.6201 GB, free: 2.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6823, allocations: 334.8 kB / 0.6204 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6825, allocations: 95.95 kB / 0.6205 GB, free: 1.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.6828, allocations: 130.7 kB / 0.6206 GB, free: 1.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.683, allocations: 109.4 kB / 0.6207 GB, free: 1.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6831, allocations: 0 / 0.6207 GB, free: 1.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001998/0.6851, allocations: 0.5569 MB / 0.6213 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.6851, allocations: 8 kB / 0.6213 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6851, allocations: 0 / 0.6213 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.687, allocations: 319.1 kB / 0.6216 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.6873, allocations: 31.97 kB / 0.6216 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.6964, allocations: 6.415 MB / 0.6279 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.6968, allocations: 35.7 kB / 0.6279 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.6968, allocations: 12 kB / 0.6279 GB, free: 9.488 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.6971, allocations: 145.7 kB / 0.6281 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.6972, allocations: 27.66 kB / 0.6281 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.6991, allocations: 0.5622 MB / 0.6286 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6991, allocations: 4 kB / 0.6286 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6991, allocations: 0 / 0.6286 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6991, allocations: 0 / 0.6286 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.6997, allocations: 365.1 kB / 0.629 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6997, allocations: 0 / 0.629 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.6998, allocations: 27.92 kB / 0.629 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.7015, allocations: 311.2 kB / 0.6293 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.7016, allocations: 4 kB / 0.6293 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007482/0.7091, allocations: 6.367 MB / 0.6355 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7091, allocations: 3.984 kB / 0.6355 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.7111, allocations: 0.6309 MB / 0.6361 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.7113, allocations: 108.7 kB / 0.6363 GB, free: 280 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.7113, allocations: 8 kB / 0.6363 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7115, allocations: 15.98 kB / 0.6363 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.7117, allocations: 31.91 kB / 0.6363 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.7117, allocations: 12 kB / 0.6363 GB, free: 212 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.7119, allocations: 166 kB / 0.6365 GB, free: 44 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7119, allocations: 0 / 0.6365 GB, free: 44 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.7126, allocations: 123.9 kB / 0.6366 GB, free: 15.92 MB / 458.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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/0.7149, allocations: 1.192 MB / 0.6378 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.7161, allocations: 0.7516 MB / 0.6385 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7161, allocations: 0 / 0.6385 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.7173, allocations: 0.6782 MB / 0.6392 GB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.7176, allocations: 20.5 kB / 0.6392 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.722, allocations: 2.025 MB / 0.6412 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.7224, allocations: 0.7834 MB / 0.6419 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.169e-05/0.7225, allocations: 9.953 kB / 0.6419 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.7226, allocations: 79.47 kB / 0.642 GB, free: 10.15 MB / 458.7 MB Notification: Performance of SimCode: time 3.086e-06/0.7227, allocations: 0 / 0.642 GB, free: 10.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.7494, allocations: 10.15 MB / 0.6519 GB, free: 232 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.7497, allocations: 218.5 kB / 0.6521 GB, free: 15.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.108, allocations: 3.625 kB / 0.6521 GB, free: 15.98 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat