Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009144/0.0009145, allocations: 94 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 195.1 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 4 kB / 306.8 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 51.5 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006012/0.134, allocations: 3.545 MB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.1378, allocations: 1.57 MB / 363.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.1381, allocations: 12 kB / 363.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.1387, allocations: 167.2 kB / 363.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006848/0.1394, allocations: 190.8 kB / 363.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.1412, allocations: 0.6309 MB / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.142, allocations: 0.5673 MB / 365 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.1439, allocations: 0.8219 MB / 365.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.1444, allocations: 223.1 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.1448, allocations: 282.8 kB / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.1449, allocations: 28 kB / 366.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007601/0.1457, allocations: 255.7 kB / 366.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1458, allocations: 103.6 kB / 366.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.146, allocations: 125.4 kB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.147, allocations: 0.6974 MB / 367.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.147, allocations: 3.984 kB / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.147, allocations: 0 / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.147, allocations: 0 / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004829/0.1519, allocations: 1.124 MB / 368.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1519, allocations: 15.97 kB / 368.7 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.1522, allocations: 114.5 kB / 368.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.154, allocations: 183.1 kB / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1544, allocations: 238.9 kB / 369.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.1545, allocations: 46 kB / 369.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1546, allocations: 71.89 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.1566, allocations: 0.7113 MB / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1567, allocations: 0 / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.1568, allocations: 28 kB / 370 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.1568, allocations: 16 kB / 370 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1589, allocations: 0.618 MB / 370.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2187/0.3775, allocations: 2.319 MB / 373 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.3793, allocations: 1.627 MB / 374.6 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.38, allocations: 290.3 kB / 374.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.3802, allocations: 177.4 kB / 375.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3803, allocations: 54.11 kB / 375.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.3803, allocations: 0.7188 kB / 375.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001931/0.3822, allocations: 0.7216 MB / 375.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3823, allocations: 114.2 kB / 376 MB, free: 16.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.3827, allocations: 263.2 kB / 376.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.3827, allocations: 35.95 kB / 376.2 MB, free: 16.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.383, allocations: 257.7 kB / 376.5 MB, free: 16.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.3833, allocations: 230 kB / 376.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3833, allocations: 14.91 kB / 376.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3834, allocations: 348.9 kB / 377.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.384, allocations: 216.2 kB / 377.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.3846, allocations: 312.5 kB / 377.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.3852, allocations: 260.1 kB / 377.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3852, allocations: 0 / 377.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001214/0.3865, allocations: 0.6506 MB / 378.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3865, allocations: 8.25 kB / 378.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3865, allocations: 2.75 kB / 378.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3865, allocations: 4.828 kB / 378.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.3872, allocations: 166.1 kB / 378.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.3873, allocations: 4.578 kB / 378.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.3877, allocations: 77.53 kB / 378.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.3878, allocations: 23.61 kB / 378.8 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (84): * Single equations (assignments): 84 * 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.0002126/0.388, allocations: 191.8 kB / 379 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.3881, allocations: 41.41 kB / 379 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3894, allocations: 0.62 MB / 379.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3894, allocations: 11.03 kB / 379.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3894, allocations: 0.6562 kB / 379.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3895, allocations: 4.734 kB / 379.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.3914, allocations: 1.312 MB / 381 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3915, allocations: 0 / 381 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.392, allocations: 138.5 kB / 381.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.392, allocations: 2 kB / 381.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.3921, allocations: 15.66 kB / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3921, allocations: 1.75 kB / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3921, allocations: 4.953 kB / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.3936, allocations: 1.003 MB / 382.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.3937, allocations: 124 kB / 382.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.3937, allocations: 11.94 kB / 382.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.3941, allocations: 33.77 kB / 382.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.3942, allocations: 45.17 kB / 382.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.3942, allocations: 23.19 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3944, allocations: 189.2 kB / 382.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3944, allocations: 0 / 382.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.395, allocations: 187.2 kB / 382.7 MB, free: 12.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.001754/0.3968, allocations: 1.584 MB / 384.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3979, allocations: 0.5484 MB / 384.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3979, allocations: 0.9688 kB / 384.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.3984, allocations: 283 kB / 385.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3988, allocations: 46.38 kB / 385.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.403, allocations: 2.772 MB / 387.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4034, allocations: 0.8458 MB / 388.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.4038, allocations: 85.67 kB / 388.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.404, allocations: 181.9 kB / 389.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.404, allocations: 1.125 kB / 389.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.4252, allocations: 8.549 MB / 397.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.4254, allocations: 221.5 kB / 397.8 MB, free: 5.898 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.375, allocations: 0 / 397.8 MB, free: 5.898 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat