Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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 3.2.3+maint.om/package.mo", uses=false) 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 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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001234/0.001234, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 46.61 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004922/0.1166, allocations: 2.766 MB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1195, allocations: 1.281 MB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.1199, allocations: 4 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1203, allocations: 63.42 kB / 378.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.1211, allocations: 230.9 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1215, allocations: 119.8 kB / 379.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007044/0.1223, allocations: 459 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1225, allocations: 88.55 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2549/0.3774, allocations: 182.3 kB / 379.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.3779, allocations: 227.6 kB / 380 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.378, allocations: 41.09 kB / 380.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.3785, allocations: 161.3 kB / 380.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.3786, allocations: 91.72 kB / 380.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3788, allocations: 185.2 kB / 380.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009837/0.3798, allocations: 0.5042 MB / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3798, allocations: 0 / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3798, allocations: 3.031 kB / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.3799, allocations: 0 / 381 MB, free: 9.309 MB / 318.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.001784/0.3816, allocations: 0.6972 MB / 381.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3817, allocations: 11.92 kB / 381.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.3818, allocations: 62.92 kB / 381.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.3819, allocations: 38.34 kB / 381.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.3823, allocations: 325 kB / 382.1 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.3824, allocations: 52.19 kB / 382.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3826, allocations: 47.75 kB / 382.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.3833, allocations: 323.2 kB / 382.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3833, allocations: 3.938 kB / 382.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3834, allocations: 11.06 kB / 382.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3834, allocations: 10 kB / 382.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.3843, allocations: 299.5 kB / 382.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3861, allocations: 1.157 MB / 384 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.3867, allocations: 286.2 kB / 384.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.3871, allocations: 163.3 kB / 384.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3871, allocations: 7.688 kB / 384.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3872, allocations: 39.66 kB / 384.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.3872, allocations: 1.438 kB / 384.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009266/0.3964, allocations: 2.423 MB / 386.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3965, allocations: 81.95 kB / 387 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.3969, allocations: 289.8 kB / 387.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3969, allocations: 34.8 kB / 387.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.397, allocations: 170.4 kB / 387.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3972, allocations: 143.5 kB / 387.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3973, allocations: 79.38 kB / 387.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.3974, allocations: 339.9 kB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.3978, allocations: 166.1 kB / 388.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3983, allocations: 226.2 kB / 388.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000842/0.3991, allocations: 404.6 kB / 388.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3991, allocations: 4.969 kB / 388.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001063/0.4002, allocations: 491.3 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4002, allocations: 6.344 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4003, allocations: 1.094 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4003, allocations: 4.844 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.4009, allocations: 122.1 kB / 389.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4009, allocations: 4.422 kB / 389.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.4013, allocations: 30.59 kB / 389.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.4014, allocations: 19.38 kB / 389.5 MB, free: 5.484 MB / 318.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.0001671/0.4016, allocations: 164.8 kB / 389.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4017, allocations: 33.53 kB / 389.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.4036, allocations: 0.6494 MB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4036, allocations: 5.562 kB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4036, allocations: 1.344 kB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4037, allocations: 3.375 kB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.407, allocations: 1.287 MB / 391.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.407, allocations: 1.469 kB / 391.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.4075, allocations: 88.69 kB / 391.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.409, allocations: 267.9 kB / 392 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.4091, allocations: 17.55 kB / 392 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.413, allocations: 2.436 MB / 394.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.413, allocations: 1.125 kB / 394.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.4156, allocations: 1.011 MB / 395.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4158, allocations: 147.3 kB / 395.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.4159, allocations: 7.391 kB / 395.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.4163, allocations: 32.14 kB / 395.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.4165, allocations: 35.09 kB / 395.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.4165, allocations: 14.38 kB / 395.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.4167, allocations: 212.5 kB / 395.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4168, allocations: 0 / 395.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.4174, allocations: 121.8 kB / 396 MB, free: 1.621 MB / 318.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.002535/0.4199, allocations: 1.598 MB / 397.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009554/0.4209, allocations: 430.6 kB / 398 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4209, allocations: 0 / 398 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.4215, allocations: 383 kB / 398.4 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.422, allocations: 41.88 kB / 398.4 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.4282, allocations: 3.85 MB / 402.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4287, allocations: 0.786 MB / 403.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.4289, allocations: 42.17 kB / 403.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.4292, allocations: 118.4 kB / 403.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4292, allocations: 0 / 403.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.4717, allocations: 9.917 MB / 413.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.21, allocations: 4.062 kB / 413.1 MB, free: 7.785 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches