Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001267, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.000854, allocations: 90.7 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002445, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2281, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3359, allocations: 81.44 MB / 483 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.3363, allocations: 91.94 kB / 483.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03313/0.3694, allocations: 12.26 MB / 495.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3694, allocations: 0 / 495.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3695, allocations: 12 kB / 495.4 MB, free: 2.617 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001412/0.3709, allocations: 0.7835 MB / 496.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3709, allocations: 12.03 kB / 496.2 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.3711, allocations: 90.52 kB / 496.3 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3712, allocations: 55.34 kB / 496.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.3717, allocations: 347.5 kB / 496.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.3717, allocations: 37.31 kB / 496.7 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.3718, allocations: 51.98 kB / 496.8 MB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.3726, allocations: 434.5 kB / 497.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3727, allocations: 4 kB / 497.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.3727, allocations: 27.89 kB / 497.2 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3727, allocations: 16 kB / 497.2 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.3736, allocations: 405 kB / 497.6 MB, free: 284 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.3761, allocations: 1.593 MB / 499.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.3769, allocations: 422 kB / 499.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3769, allocations: 4.328 kB / 499.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.377, allocations: 42.83 kB / 499.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.377, allocations: 0 / 499.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003313/0.3803, allocations: 1.298 MB / 0.4892 GB, free: 12.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3804, allocations: 59.97 kB / 0.4893 GB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.3808, allocations: 352.7 kB / 0.4896 GB, free: 12.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3808, allocations: 33.7 kB / 0.4897 GB, free: 12.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.381, allocations: 303.8 kB / 0.4899 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3811, allocations: 185.3 kB / 0.4901 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.3812, allocations: 16 kB / 0.4901 GB, free: 11.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3813, allocations: 358.9 kB / 0.4905 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.3818, allocations: 189.1 kB / 0.4907 GB, free: 11.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.3823, allocations: 306.2 kB / 0.491 GB, free: 10.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.3827, allocations: 218.1 kB / 0.4912 GB, free: 10.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3828, allocations: 0 / 0.4912 GB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001403/0.3842, allocations: 0.7616 MB / 0.4919 GB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.3842, allocations: 8 kB / 0.4919 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3843, allocations: 4 kB / 0.4919 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.3848, allocations: 203.9 kB / 0.4921 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.3853, allocations: 111.9 kB / 0.4922 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.3895, allocations: 4.001 MB / 0.4961 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.3899, allocations: 35.97 kB / 0.4962 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.39, allocations: 27.95 kB / 0.4962 GB, free: 5.289 MB / 378.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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.3903, allocations: 186.2 kB / 0.4964 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3903, allocations: 43.44 kB / 0.4964 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.3905, allocations: 61.03 kB / 0.4965 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3905, allocations: 4 kB / 0.4965 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/0.3905, allocations: 11.98 kB / 0.4965 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3905, allocations: 0 / 0.4965 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.3928, allocations: 1.31 MB / 0.4978 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3928, allocations: 0 / 0.4978 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.3931, allocations: 67.95 kB / 0.4978 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.3936, allocations: 177.6 kB / 0.498 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3936, allocations: 12 kB / 0.498 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1968/0.5904, allocations: 3.871 MB / 0.5018 GB, free: 97.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5905, allocations: 3.969 kB / 0.5018 GB, free: 97.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.5921, allocations: 0.7597 MB / 0.5025 GB, free: 97.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.5924, allocations: 126.2 kB / 0.5026 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.5924, allocations: 9.797 kB / 0.5027 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.5928, allocations: 30.83 kB / 0.5027 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.593, allocations: 51.06 kB / 0.5027 GB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.593, allocations: 13.14 kB / 0.5027 GB, free: 97.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004846/0.5935, allocations: 272.3 kB / 0.503 GB, free: 97.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5935, allocations: 0.875 kB / 0.503 GB, free: 97.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008569/0.5944, allocations: 156.8 kB / 0.5032 GB, free: 97.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.5962, allocations: 1.527 MB / 0.5046 GB, free: 96.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.5981, allocations: 0.8149 MB / 0.5054 GB, free: 96.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5982, allocations: 0 / 0.5054 GB, free: 96.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.5991, allocations: 0.5585 MB / 0.506 GB, free: 96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5996, allocations: 36.11 kB / 0.506 GB, free: 96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.6044, allocations: 4.753 MB / 0.5107 GB, free: 93.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6048, allocations: 0.8726 MB / 0.5115 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.605, allocations: 49 kB / 0.5116 GB, free: 92.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.6052, allocations: 172 kB / 0.5117 GB, free: 92.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6052, allocations: 0 / 0.5117 GB, free: 92.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.6269, allocations: 9.007 MB / 0.5205 GB, free: 89.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.6271, allocations: 224.8 kB / 0.5207 GB, free: 89.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.776, allocations: 0 / 0.5207 GB, free: 89.18 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat