Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_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/Complex 3.2.3+maint.om/package.mo): time 0.0009945/0.0009942, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008231/0.0008229, allocations: 96.08 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002435, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2325, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09157/0.3242, allocations: 82.73 MB / 458.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3244, allocations: 91.94 kB / 458.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04546/0.3699, allocations: 19.51 MB / 478.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3699, allocations: 4 kB / 478.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.37, allocations: 15.94 kB / 478.3 MB, free: 10.04 MB / 362.7 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.002495/0.3725, allocations: 0.9715 MB / 479.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3725, allocations: 8.031 kB / 479.3 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3727, allocations: 114.5 kB / 479.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.3737, allocations: 171.1 kB / 479.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.374, allocations: 239 kB / 479.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.374, allocations: 50 kB / 479.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3741, allocations: 71.95 kB / 479.9 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.3754, allocations: 0.6996 MB / 480.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3754, allocations: 3.906 kB / 480.6 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.3755, allocations: 32 kB / 480.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3755, allocations: 19.94 kB / 480.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3768, allocations: 0.6236 MB / 481.3 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.3802, allocations: 2.34 MB / 483.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3821, allocations: 1.697 MB / 485.3 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.3822, allocations: 89.67 kB / 485.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3822, allocations: 43.16 kB / 485.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.3823, allocations: 4 kB / 485.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001588/0.3838, allocations: 0.7289 MB / 486.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.3839, allocations: 119.3 kB / 486.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3842, allocations: 240 kB / 486.5 MB, free: 1.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.3842, allocations: 37.7 kB / 486.6 MB, free: 1.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3844, allocations: 263.9 kB / 486.8 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3846, allocations: 220.8 kB / 487 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3846, allocations: 12 kB / 487 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3847, allocations: 342.8 kB / 487.4 MB, free: 388 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.3852, allocations: 229.8 kB / 487.6 MB, free: 156 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3857, allocations: 313.5 kB / 487.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.3863, allocations: 259.1 kB / 488.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3863, allocations: 0 / 488.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001217/0.3875, allocations: 0.6452 MB / 488.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3875, allocations: 4 kB / 488.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3876, allocations: 11.98 kB / 488.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3876, allocations: 4 kB / 488.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.3883, allocations: 171.9 kB / 489 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3884, allocations: 8 kB / 489 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.3888, allocations: 71.34 kB / 489.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3889, allocations: 28 kB / 489.1 MB, free: 14.62 MB / 378.7 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.0002607/0.3892, allocations: 193.6 kB / 489.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.3893, allocations: 43.52 kB / 489.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3905, allocations: 0.6085 MB / 489.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3905, allocations: 4 kB / 489.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3905, allocations: 7.953 kB / 489.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.3906, allocations: 7.969 kB / 490 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.3926, allocations: 1.288 MB / 491.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3926, allocations: 7.953 kB / 491.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.3932, allocations: 135.8 kB / 491.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.3932, allocations: 4 kB / 491.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3933, allocations: 12 kB / 491.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3933, allocations: 4 kB / 491.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3933, allocations: 0 / 491.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3949, allocations: 1.019 MB / 492.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.395, allocations: 116.6 kB / 492.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3951, allocations: 19.98 kB / 492.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.3955, allocations: 32.05 kB / 492.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3956, allocations: 40.5 kB / 492.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.3956, allocations: 16 kB / 492.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3958, allocations: 192.5 kB / 492.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3958, allocations: 0 / 492.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005807/0.3964, allocations: 191.4 kB / 493 MB, free: 10.58 MB / 378.7 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.001961/0.3984, allocations: 1.672 MB / 494.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3995, allocations: 0.5507 MB / 495.2 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3995, allocations: 384 / 495.2 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.4, allocations: 287 kB / 495.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4004, allocations: 32.42 kB / 495.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.405, allocations: 3.694 MB / 499.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4054, allocations: 0.8541 MB / 0.4884 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004194/0.4058, allocations: 79.41 kB / 0.4885 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.4061, allocations: 183.4 kB / 0.4886 GB, free: 3.102 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4061, allocations: 0 / 0.4886 GB, free: 3.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/0.5646, allocations: 8.482 MB / 0.4969 GB, free: 102.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.5648, allocations: 215.2 kB / 0.4971 GB, free: 102.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.51, allocations: 0 / 0.4971 GB, free: 102.2 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat