Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 94.72 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009778/0.000978, allocations: 183.1 kB / 17.2 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.1 MB, free: 396 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 4 kB / 300.8 MB, free: 6.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1046, allocations: 50.42 MB / 351.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004553/0.1092, allocations: 4.066 MB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.1125, allocations: 1.881 MB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.1128, allocations: 16 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1133, allocations: 234.7 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.1144, allocations: 0.4937 MB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.1162, allocations: 0.8671 MB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.1171, allocations: 0.5072 MB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.119, allocations: 1.098 MB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.1194, allocations: 267 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.1197, allocations: 354.6 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.1198, allocations: 36 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.1205, allocations: 311.6 kB / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1206, allocations: 123.5 kB / 361.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1208, allocations: 149.4 kB / 361.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.1217, allocations: 0.8806 MB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1217, allocations: 4 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1217, allocations: 0 / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1217, allocations: 3.938 kB / 362.5 MB, free: 8.621 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004043/0.1258, allocations: 1.342 MB / 363.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1258, allocations: 12.03 kB / 363.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.126, allocations: 135.2 kB / 364 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.1285, allocations: 382.8 kB / 364.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1288, allocations: 257.9 kB / 364.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.1289, allocations: 66 kB / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.129, allocations: 80 kB / 364.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.1306, allocations: 0.8835 MB / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.1307, allocations: 0 / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.1308, allocations: 32 kB / 365.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.1308, allocations: 24 kB / 365.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.1325, allocations: 0.8315 MB / 366.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.1368, allocations: 2.962 MB / 369.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.138, allocations: 1.004 MB / 370.5 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.1381, allocations: 101.6 kB / 370.6 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1382, allocations: 43.08 kB / 370.6 MB, free: 36 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.056e-06/0.1382, allocations: 0 / 370.6 MB, free: 36 kB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.2275/0.3657, allocations: 2.681 MB / 373.3 MB, free: 23.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3658, allocations: 92.5 kB / 373.4 MB, free: 23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.3663, allocations: 314.9 kB / 373.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.3663, allocations: 34.83 kB / 373.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.3666, allocations: 365.4 kB / 374.1 MB, free: 22.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.3668, allocations: 212.4 kB / 374.3 MB, free: 22.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3669, allocations: 16.81 kB / 374.3 MB, free: 22.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.367, allocations: 349.6 kB / 374.7 MB, free: 22.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.3678, allocations: 296.3 kB / 375 MB, free: 22.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.3688, allocations: 0.521 MB / 375.5 MB, free: 21.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.3697, allocations: 364.2 kB / 375.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3698, allocations: 2.75 kB / 375.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002243/0.372, allocations: 0.9508 MB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3721, allocations: 8.312 kB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3721, allocations: 8.406 kB / 376.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.3723, allocations: 69.19 kB / 376.9 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.3733, allocations: 214.1 kB / 377.1 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.3749, allocations: 2.678 MB / 379.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.3756, allocations: 77.94 kB / 379.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/0.3757, allocations: 36.16 kB / 379.9 MB, free: 19.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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 0.0003364/0.3761, allocations: 217.6 kB / 380.1 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.3762, allocations: 39.47 kB / 380.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3782, allocations: 0.7962 MB / 380.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3782, allocations: 11.86 kB / 380.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3783, allocations: 0.8438 kB / 380.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3783, allocations: 3.188 kB / 380.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.3812, allocations: 1.468 MB / 382.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3812, allocations: 4.906 kB / 382.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/0.3819, allocations: 150 kB / 382.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.3821, allocations: 64.09 kB / 382.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.3822, allocations: 16.33 kB / 382.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.3836, allocations: 2.661 MB / 385.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3836, allocations: 1.344 kB / 385.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.3864, allocations: 1.16 MB / 386.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.3867, allocations: 162.8 kB / 386.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.3868, allocations: 11.69 kB / 386.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.3873, allocations: 61.95 kB / 386.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3875, allocations: 44.34 kB / 386.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.3875, allocations: 19.08 kB / 386.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.3878, allocations: 218.2 kB / 387 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3878, allocations: 0 / 387 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008821/0.3887, allocations: 175.4 kB / 387.1 MB, free: 14.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (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 {(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.003183/0.3919, allocations: 1.755 MB / 388.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.3943, allocations: 0.9541 MB / 389.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3943, allocations: 4.062 kB / 389.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3954, allocations: 0.5774 MB / 390.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3958, allocations: 35.72 kB / 390.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.4032, allocations: 8.326 MB / 398.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4037, allocations: 0.9045 MB / 399.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.4042, allocations: 92.72 kB / 399.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.4045, allocations: 227.4 kB / 400 MB, free: 4.676 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4045, allocations: 1.375 kB / 400 MB, free: 4.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.428, allocations: 10.34 MB / 410.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.4283, allocations: 269.2 kB / 410.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.439, allocations: 0 / 410.6 MB, free: 12.56 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat