Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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) 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008783/0.0008783, allocations: 92.86 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.799e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 51.5 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4547, allocations: 81.83 MB / 484 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.455, allocations: 82.2 kB / 484 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02073/0.4757, allocations: 8.491 MB / 492.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4758, allocations: 3.984 kB / 492.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4758, allocations: 8 kB / 492.5 MB, free: 0.5117 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009148/0.4767, allocations: 0.582 MB / 493.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4768, allocations: 8.031 kB / 493.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.301e-05/0.4769, allocations: 72.03 kB / 493.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.477, allocations: 35.53 kB / 493.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.4774, allocations: 272.8 kB / 493.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.4774, allocations: 25.16 kB / 493.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.4775, allocations: 37.86 kB / 493.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.4779, allocations: 260.9 kB / 493.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.478, allocations: 0 / 493.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.478, allocations: 9.125 kB / 493.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.478, allocations: 8 kB / 493.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.4784, allocations: 204.5 kB / 494 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.4801, allocations: 1.139 MB / 495.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4804, allocations: 124.4 kB / 495.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4805, allocations: 56.86 kB / 495.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.4806, allocations: 7.984 kB / 495.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4806, allocations: 42.44 kB / 495.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.4806, allocations: 0 / 495.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001519/0.4821, allocations: 0.5008 MB / 495.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4822, allocations: 63.77 kB / 496 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4825, allocations: 259.2 kB / 496.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4825, allocations: 33.7 kB / 496.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4827, allocations: 223.5 kB / 496.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.4827, allocations: 74.92 kB / 496.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.4828, allocations: 8 kB / 496.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4829, allocations: 340.4 kB / 496.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.483, allocations: 67.09 kB / 496.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.4832, allocations: 172 kB / 497.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.4834, allocations: 90.02 kB / 497.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4834, allocations: 4 kB / 497.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005535/0.484, allocations: 341.1 kB / 497.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.484, allocations: 8 kB / 497.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.484, allocations: 4 kB / 497.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.4843, allocations: 66.06 kB / 497.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.4847, allocations: 83.83 kB / 497.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.4867, allocations: 2.629 MB / 0.4886 GB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.487, allocations: 31.89 kB / 0.4886 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.487, allocations: 12 kB / 0.4886 GB, free: 8.352 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/0.4871, allocations: 136.8 kB / 0.4888 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.4872, allocations: 27.7 kB / 0.4888 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.4873, allocations: 26 kB / 0.4888 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4873, allocations: 4 kB / 0.4888 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.4873, allocations: 6.328 kB / 0.4888 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4873, allocations: 0 / 0.4888 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.4877, allocations: 337.6 kB / 0.4892 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4877, allocations: 0 / 0.4892 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.4879, allocations: 43.97 kB / 0.4892 GB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.4881, allocations: 57.62 kB / 0.4893 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4881, allocations: 11.98 kB / 0.4893 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.4899, allocations: 2.621 MB / 0.4918 GB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4899, allocations: 4 kB / 0.4918 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.4903, allocations: 330.1 kB / 0.4921 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.4904, allocations: 96.83 kB / 0.4922 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4904, allocations: 0 / 0.4922 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4907, allocations: 31.92 kB / 0.4923 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.4907, allocations: 23.91 kB / 0.4923 GB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4908, allocations: 11.94 kB / 0.4923 GB, free: 4.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.491, allocations: 191.1 kB / 0.4925 GB, free: 4.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.491, allocations: 0 / 0.4925 GB, free: 4.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.4914, allocations: 80 kB / 0.4926 GB, free: 3.973 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007776/0.4921, allocations: 0.8577 MB / 0.4934 GB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.4927, allocations: 429.2 kB / 0.4938 GB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4928, allocations: 0 / 0.4938 GB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.4931, allocations: 317.1 kB / 0.4941 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4934, allocations: 27.12 kB / 0.4941 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.4943, allocations: 406.9 kB / 0.4945 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4947, allocations: 0.7869 MB / 0.4953 GB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.4948, allocations: 26.2 kB / 0.4953 GB, free: 1.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.495, allocations: 107.3 kB / 0.4954 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.495, allocations: 0 / 0.4954 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.5139, allocations: 5.273 MB / 0.5006 GB, free: 11.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.5142, allocations: 214.2 kB / 0.5008 GB, free: 11.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.523, allocations: 0 / 0.5008 GB, free: 11.69 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat