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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001947/0.001947, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002589/0.002589, allocations: 205.7 kB / 23.72 MB, free: 4.391 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2427, allocations: 53.41 MB / 431.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004216/0.2469, allocations: 2.686 MB / 433.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2491, allocations: 1.199 MB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.2492, allocations: 7.938 kB / 435 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.2495, allocations: 59.44 kB / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.2501, allocations: 234.7 kB / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.2504, allocations: 135.8 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.2509, allocations: 455.1 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2511, allocations: 64.25 kB / 436 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.2514, allocations: 199.3 kB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.2517, allocations: 191.2 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.2518, allocations: 40 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2521, allocations: 163.9 kB / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.2522, allocations: 99.59 kB / 436.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2523, allocations: 155.3 kB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.2529, allocations: 0.5224 MB / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2529, allocations: 0 / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2529, allocations: 0 / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2529, allocations: 0 / 437.3 MB, free: 224 kB / 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.001621/0.2546, allocations: 0.6336 MB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2546, allocations: 19.98 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.2547, allocations: 66.72 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2549, allocations: 44.73 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.2554, allocations: 271.5 kB / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2555, allocations: 106.3 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2557, allocations: 40.27 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.2563, allocations: 343.3 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2564, allocations: 4 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.2564, allocations: 12 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2564, allocations: 8 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.2571, allocations: 297.7 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2589, allocations: 1.046 MB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.2595, allocations: 279.8 kB / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.2598, allocations: 154.4 kB / 440.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2599, allocations: 4 kB / 440.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.2599, allocations: 46.5 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2599, allocations: 0 / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009261/0.2692, allocations: 2.264 MB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2692, allocations: 81.11 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.2696, allocations: 305 kB / 443.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.2696, allocations: 29.7 kB / 443.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2697, allocations: 168.7 kB / 443.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.2699, allocations: 158.6 kB / 443.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.27, allocations: 78.11 kB / 443.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2702, allocations: 342.8 kB / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.2706, allocations: 168.8 kB / 444.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.271, allocations: 230.6 kB / 444.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.2719, allocations: 395.8 kB / 444.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2719, allocations: 0 / 444.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001053/0.2729, allocations: 492.6 kB / 445.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.273, allocations: 4 kB / 445.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.273, allocations: 4 kB / 445.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.273, allocations: 11.88 kB / 445.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.2736, allocations: 115.8 kB / 445.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2736, allocations: 4 kB / 445.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.274, allocations: 40 kB / 445.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.274, allocations: 19.98 kB / 445.5 MB, free: 7.688 MB / 350.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.0001799/0.2742, allocations: 154.3 kB / 445.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2743, allocations: 39.75 kB / 445.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.2762, allocations: 0.6447 MB / 446.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.2762, allocations: 4 kB / 446.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2762, allocations: 0 / 446.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2762, allocations: 3.984 kB / 446.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.2794, allocations: 1.177 MB / 447.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2794, allocations: 0 / 447.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.2799, allocations: 87.89 kB / 447.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.2814, allocations: 268.5 kB / 447.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.2815, allocations: 16 kB / 447.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/0.2857, allocations: 2.301 MB / 450.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2857, allocations: 0 / 450.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.288, allocations: 1.007 MB / 451.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.2882, allocations: 71.8 kB / 451.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.2883, allocations: 12.17 kB / 451.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.2887, allocations: 31.92 kB / 451.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2888, allocations: 48.23 kB / 451.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.2889, allocations: 16 kB / 451.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.2891, allocations: 212.5 kB / 451.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2891, allocations: 0 / 451.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.2897, allocations: 115.9 kB / 451.7 MB, free: 1.285 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.00281/0.2925, allocations: 1.583 MB / 453.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009852/0.2935, allocations: 410.2 kB / 453.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2935, allocations: 0 / 453.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.2942, allocations: 368.9 kB / 454 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.2947, allocations: 39.8 kB / 454.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.3007, allocations: 3.884 MB / 458 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3009, allocations: 183.1 kB / 458.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.3011, allocations: 34.97 kB / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.3013, allocations: 115.4 kB / 458.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3013, allocations: 4 kB / 458.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.3542, allocations: 10.11 MB / 468.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.17, allocations: 19.36 kB / 468.4 MB, free: 0.5078 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.862147374078631]