Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002237/0.002237, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 67.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2536, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005164/0.2587, allocations: 3.201 MB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.2616, allocations: 1.593 MB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.2618, allocations: 7.938 kB / 435.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00317/0.265, allocations: 2.671 MB / 438.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.2657, allocations: 218.6 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.2665, allocations: 329.5 kB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.2684, allocations: 1.821 MB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.2687, allocations: 94.05 kB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.2691, allocations: 325 kB / 441.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2696, allocations: 338.6 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.2697, allocations: 48 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.2699, allocations: 91.97 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.2705, allocations: 0.8414 MB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.2712, allocations: 0.6666 MB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.2736, allocations: 2.676 MB / 446 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2737, allocations: 4 kB / 446 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2737, allocations: 0 / 446 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.2737, allocations: 7.875 kB / 446 MB, free: 7.516 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004348/0.278, allocations: 2.836 MB / 448.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2781, allocations: 11.98 kB / 448.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.574e-05/0.2781, allocations: 74.72 kB / 449 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.2786, allocations: 310.9 kB / 449.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.2815, allocations: 1.806 MB / 451.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.2817, allocations: 110.7 kB / 451.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.2818, allocations: 60.23 kB / 451.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.2826, allocations: 438.4 kB / 451.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2826, allocations: 0 / 451.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.2827, allocations: 16 kB / 451.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2827, allocations: 8 kB / 451.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.2834, allocations: 335.7 kB / 452 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/0.2877, allocations: 2.631 MB / 454.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.2884, allocations: 300.1 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.2887, allocations: 156.4 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2887, allocations: 8 kB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2888, allocations: 42.48 kB / 455.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.2888, allocations: 4 kB / 455.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005098/0.2939, allocations: 2.395 MB / 457.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2939, allocations: 85.58 kB / 457.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/0.3009, allocations: 5.455 MB / 463.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/0.3009, allocations: 37.7 kB / 463.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.3021, allocations: 1.188 MB / 464.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3024, allocations: 178.5 kB / 464.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3025, allocations: 90.19 kB / 464.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3027, allocations: 322 kB / 464.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.303, allocations: 140.9 kB / 465 MB, free: 4.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.3035, allocations: 221 kB / 465.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.3042, allocations: 380.3 kB / 465.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3042, allocations: 0 / 465.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001566/0.3058, allocations: 0.705 MB / 466.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3058, allocations: 4 kB / 466.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3058, allocations: 4 kB / 466.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3058, allocations: 4 kB / 466.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.3064, allocations: 128.1 kB / 466.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3064, allocations: 7.984 kB / 466.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.307, allocations: 15.95 kB / 466.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.307, allocations: 20 kB / 466.5 MB, free: 2.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.001256/0.3083, allocations: 0.9231 MB / 467.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.3087, allocations: 290 kB / 467.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.3103, allocations: 0.8021 MB / 468.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3103, allocations: 4 kB / 468.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3103, allocations: 0 / 468.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3103, allocations: 0 / 468.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3121, allocations: 1.246 MB / 469.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3121, allocations: 0 / 469.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.3125, allocations: 91.89 kB / 469.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.3129, allocations: 112.6 kB / 470 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3129, allocations: 12 kB / 470 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006103/0.3135, allocations: 0.6343 MB / 470.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3135, allocations: 0 / 470.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3154, allocations: 1.087 MB / 471.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.3165, allocations: 434 kB / 472.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3167, allocations: 15.98 kB / 472.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.3171, allocations: 12 kB / 472.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3172, allocations: 32.38 kB / 472.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.3172, allocations: 15.98 kB / 472.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005168/0.3224, allocations: 3.99 MB / 476.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3224, allocations: 0 / 476.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.3231, allocations: 208 kB / 476.4 MB, free: 8.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003636/0.3268, allocations: 1.969 MB / 478.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.3276, allocations: 356.9 kB / 478.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3276, allocations: 0 / 478.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.328, allocations: 202.3 kB / 478.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3291, allocations: 199 kB / 479.1 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/0.3685, allocations: 19.43 MB / 498.5 MB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.3702, allocations: 1.25 MB / 499.8 MB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000727/0.3709, allocations: 275.8 kB / 0.4883 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.3722, allocations: 0.9406 MB / 0.4892 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3722, allocations: 0 / 0.4892 GB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08741/0.4596, allocations: 39.84 MB / 0.5281 GB, free: 8.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.07, allocations: 3.938 kB / 0.5281 GB, free: 8.223 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.234426120761782]