Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 50.54 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004608/0.2808, allocations: 2.834 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2832, allocations: 1.289 MB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.2835, allocations: 4 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.2839, allocations: 67.36 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008514/0.2848, allocations: 232.4 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.2852, allocations: 127.8 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.2858, allocations: 467 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.286, allocations: 80.69 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.2864, allocations: 199.4 kB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.2868, allocations: 219.2 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.2869, allocations: 40 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.2872, allocations: 163.9 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.2873, allocations: 95.61 kB / 414.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2875, allocations: 191.1 kB / 414.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.2883, allocations: 0.5061 MB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2883, allocations: 0 / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2883, allocations: 4 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2883, allocations: 4 kB / 415.2 MB, free: 11 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001853/0.2902, allocations: 0.7016 MB / 415.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.2903, allocations: 12.02 kB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.2904, allocations: 58.73 kB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.2906, allocations: 48.55 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.2912, allocations: 329.3 kB / 416.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2914, allocations: 58.77 kB / 416.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.2915, allocations: 40.28 kB / 416.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.2922, allocations: 324.5 kB / 416.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2922, allocations: 3.938 kB / 416.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.2923, allocations: 12 kB / 416.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2923, allocations: 4 kB / 416.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.293, allocations: 302 kB / 417.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.295, allocations: 1.16 MB / 418.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.2957, allocations: 289 kB / 418.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.2961, allocations: 157.7 kB / 418.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2961, allocations: 15.97 kB / 418.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2962, allocations: 42.56 kB / 418.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.2962, allocations: 0 / 418.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009206/0.3054, allocations: 2.418 MB / 421.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3055, allocations: 81.11 kB / 421.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.3058, allocations: 300.9 kB / 421.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3059, allocations: 29.7 kB / 421.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.306, allocations: 164.4 kB / 421.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3061, allocations: 153.8 kB / 421.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3063, allocations: 82.11 kB / 422 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3064, allocations: 338.8 kB / 422.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.3068, allocations: 164.8 kB / 422.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.3073, allocations: 226.7 kB / 422.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.3081, allocations: 403.8 kB / 423.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3081, allocations: 0 / 423.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001041/0.3092, allocations: 496.4 kB / 423.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3092, allocations: 4 kB / 423.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3092, allocations: 4 kB / 423.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3092, allocations: 3.938 kB / 423.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.3098, allocations: 119.8 kB / 423.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3099, allocations: 4 kB / 423.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.3103, allocations: 36 kB / 423.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.3103, allocations: 12 kB / 423.7 MB, free: 2.09 MB / 334.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: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.3105, allocations: 161.6 kB / 423.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3106, allocations: 31.62 kB / 423.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.3125, allocations: 0.6525 MB / 424.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3125, allocations: 8 kB / 424.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3125, allocations: 0 / 424.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3125, allocations: 4 kB / 424.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.3157, allocations: 1.279 MB / 425.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3157, allocations: 0 / 425.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.3162, allocations: 87.88 kB / 425.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.3177, allocations: 268.6 kB / 426.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.3177, allocations: 11.98 kB / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.3217, allocations: 2.439 MB / 428.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3217, allocations: 12.06 kB / 428.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.3241, allocations: 1.007 MB / 429.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.3243, allocations: 152.7 kB / 429.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.3244, allocations: 4.188 kB / 429.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.3248, allocations: 31.97 kB / 429.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.325, allocations: 36.33 kB / 429.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.325, allocations: 15.98 kB / 429.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.3253, allocations: 220.5 kB / 430.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3253, allocations: 0 / 430.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000558/0.3258, allocations: 112 kB / 430.2 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/0.3286, allocations: 1.598 MB / 431.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3296, allocations: 430 kB / 432.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3296, allocations: 0 / 432.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.3304, allocations: 380.9 kB / 432.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.3309, allocations: 48.67 kB / 432.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.337, allocations: 3.852 MB / 436.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3374, allocations: 0.7852 MB / 437.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.3376, allocations: 46.94 kB / 437.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.3378, allocations: 126.9 kB / 437.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3378, allocations: 3.938 kB / 437.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.3706, allocations: 9.946 MB / 447.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 10.52 kB / 447.4 MB, free: 10.13 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches