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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 56.44 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 49.16 MB / 396.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003757/0.269, allocations: 2.608 MB / 399 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2709, allocations: 1.193 MB / 400.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.271, allocations: 7.656 kB / 400.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2713, allocations: 58.89 kB / 400.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.2718, allocations: 235.2 kB / 400.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2721, allocations: 112.5 kB / 400.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.2725, allocations: 458.5 kB / 401 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2726, allocations: 65.39 kB / 401.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2729, allocations: 188.9 kB / 401.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.2732, allocations: 198.9 kB / 401.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.2733, allocations: 41.41 kB / 401.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.2735, allocations: 155.2 kB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.2736, allocations: 94.53 kB / 401.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2738, allocations: 162.6 kB / 401.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.2744, allocations: 0.506 MB / 402.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2744, allocations: 1.031 kB / 402.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2744, allocations: 0 / 402.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2744, allocations: 4 kB / 402.4 MB, free: 5.52 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.001522/0.276, allocations: 0.6357 MB / 403 MB, free: 5.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.276, allocations: 13.39 kB / 403 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.2761, allocations: 66.02 kB / 403.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.2761, allocations: 34.47 kB / 403.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.2766, allocations: 274 kB / 403.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.2767, allocations: 102.1 kB / 403.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2769, allocations: 41.77 kB / 403.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.2775, allocations: 350 kB / 403.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2775, allocations: 1.062 kB / 403.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2775, allocations: 11.09 kB / 403.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.2775, allocations: 6.594 kB / 403.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.2782, allocations: 302.8 kB / 404.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2799, allocations: 1.046 MB / 405.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.2805, allocations: 281.6 kB / 405.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.2808, allocations: 148.9 kB / 405.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2808, allocations: 4.031 kB / 405.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2808, allocations: 41.94 kB / 405.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.2808, allocations: 0 / 405.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008821/0.2896, allocations: 2.265 MB / 408 MB, free: 2.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2897, allocations: 83.08 kB / 408.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.29, allocations: 290.5 kB / 408.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2901, allocations: 34.83 kB / 408.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.2902, allocations: 172.9 kB / 408.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2903, allocations: 156.9 kB / 408.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.2904, allocations: 80.61 kB / 408.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.2905, allocations: 343.1 kB / 409.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.2909, allocations: 162 kB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.2913, allocations: 234.4 kB / 409.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.292, allocations: 402.4 kB / 409.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.292, allocations: 5.125 kB / 409.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009534/0.293, allocations: 494.2 kB / 410.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.293, allocations: 5.625 kB / 410.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.293, allocations: 2.594 kB / 410.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.293, allocations: 15.36 kB / 410.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.2936, allocations: 117.8 kB / 410.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2936, allocations: 6.922 kB / 410.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.294, allocations: 31.14 kB / 410.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.294, allocations: 19.17 kB / 410.6 MB, free: 0.8867 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.0001527/0.2942, allocations: 160.5 kB / 410.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.2943, allocations: 30.97 kB / 410.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.296, allocations: 0.6427 MB / 411.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.296, allocations: 5.469 kB / 411.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.296, allocations: 0 / 411.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.296, allocations: 5.391 kB / 411.4 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.2991, allocations: 1.17 MB / 412.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2991, allocations: 0 / 412.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2995, allocations: 82.33 kB / 412.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.3011, allocations: 279.7 kB / 412.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.3012, allocations: 11.31 kB / 413 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/0.3055, allocations: 2.299 MB / 415.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3055, allocations: 1.031 kB / 415.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.308, allocations: 1.009 MB / 416.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.3082, allocations: 73.84 kB / 416.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.3083, allocations: 15.22 kB / 416.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3087, allocations: 22.58 kB / 416.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.3088, allocations: 45.64 kB / 416.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.3089, allocations: 17.38 kB / 416.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.3092, allocations: 209.9 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3092, allocations: 0 / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007158/0.3099, allocations: 121.8 kB / 416.8 MB, free: 12.54 MB / 334.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.003027/0.3129, allocations: 1.587 MB / 418.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.314, allocations: 406.9 kB / 418.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.314, allocations: 0 / 418.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008162/0.3148, allocations: 366.6 kB / 419.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.3153, allocations: 34.33 kB / 419.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.3219, allocations: 3.859 MB / 423 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3221, allocations: 179.1 kB / 423.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.3223, allocations: 42.95 kB / 423.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.3226, allocations: 115.4 kB / 423.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3226, allocations: 0 / 423.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.3672, allocations: 10.1 MB / 433.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.63, allocations: 8.047 kB / 433.4 MB, free: 13.4 MB / 350.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.32519172783941]