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.001322/0.001322, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001422/0.001422, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.545/1.545, allocations: 230.5 MB / 254 MB, free: 15.18 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.001854/0.001854, allocations: 63.89 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.113, allocations: 53.38 MB / 426.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004534/0.1176, allocations: 2.859 MB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1198, allocations: 1.3 MB / 430.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.12, allocations: 4 kB / 430.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1203, allocations: 71.36 kB / 430.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.1208, allocations: 226.7 kB / 430.8 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1211, allocations: 135.7 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2157/0.3368, allocations: 459 kB / 431.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.3371, allocations: 65.5 kB / 431.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.3376, allocations: 192.8 kB / 431.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.338, allocations: 225.3 kB / 431.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.3381, allocations: 41 kB / 431.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.3384, allocations: 165.3 kB / 432.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.3385, allocations: 91.3 kB / 432.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3387, allocations: 186.8 kB / 432.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.3392, allocations: 0.5131 MB / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3392, allocations: 0 / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3392, allocations: 0.8438 kB / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3393, allocations: 0 / 432.8 MB, free: 7.57 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001451/0.3407, allocations: 0.7198 MB / 433.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3408, allocations: 11.91 kB / 433.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.44e-05/0.3408, allocations: 58.5 kB / 433.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.341, allocations: 45.38 kB / 433.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.3415, allocations: 336.5 kB / 434 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.3415, allocations: 48.67 kB / 434.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3417, allocations: 43.06 kB / 434.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.3423, allocations: 329.4 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3423, allocations: 0.6562 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3423, allocations: 10.44 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3424, allocations: 6.625 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.343, allocations: 298.5 kB / 434.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.3448, allocations: 1.166 MB / 435.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.3454, allocations: 279.7 kB / 436.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3457, allocations: 153.2 kB / 436.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3457, allocations: 10.42 kB / 436.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3457, allocations: 37.09 kB / 436.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.3457, allocations: 0 / 436.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009677/0.3554, allocations: 2.419 MB / 438.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3555, allocations: 86.11 kB / 438.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.3559, allocations: 290.2 kB / 439.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3559, allocations: 31.95 kB / 439.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.356, allocations: 172.5 kB / 439.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3561, allocations: 151.8 kB / 439.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3563, allocations: 83.62 kB / 439.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.3563, allocations: 339.9 kB / 439.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.3567, allocations: 167.9 kB / 440.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.3572, allocations: 234.5 kB / 440.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.3579, allocations: 404.8 kB / 440.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3579, allocations: 0 / 440.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001086/0.359, allocations: 490.4 kB / 441.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.359, allocations: 5.438 kB / 441.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.359, allocations: 2.609 kB / 441.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3591, allocations: 4.406 kB / 441.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.3597, allocations: 117.2 kB / 441.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3597, allocations: 4.344 kB / 441.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.3601, allocations: 36.88 kB / 441.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3601, allocations: 18.83 kB / 441.4 MB, free: 3.75 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.0001564/0.3603, allocations: 157.9 kB / 441.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.3604, allocations: 31.8 kB / 441.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.3623, allocations: 0.6491 MB / 442.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3623, allocations: 9.469 kB / 442.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3623, allocations: 1.375 kB / 442.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3623, allocations: 3.812 kB / 442.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.3656, allocations: 1.268 MB / 443.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3656, allocations: 2.094 kB / 443.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.366, allocations: 89.66 kB / 443.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.3676, allocations: 273 kB / 443.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.3676, allocations: 12.28 kB / 443.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.3711, allocations: 2.438 MB / 446.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3711, allocations: 4.844 kB / 446.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.3734, allocations: 1.017 MB / 447.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.3735, allocations: 149 kB / 447.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3736, allocations: 11.86 kB / 447.5 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.374, allocations: 23.48 kB / 447.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3742, allocations: 38.52 kB / 447.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3742, allocations: 21.78 kB / 447.5 MB, free: 28 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003118/0.3745, allocations: 214.6 kB / 447.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3745, allocations: 0 / 447.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006052/0.3751, allocations: 122.5 kB / 447.9 MB, free: 15.89 MB / 366.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.002888/0.378, allocations: 1.587 MB / 449.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.379, allocations: 409.7 kB / 449.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.379, allocations: 0 / 449.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.3798, allocations: 365.3 kB / 450.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3803, allocations: 42.98 kB / 450.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.3865, allocations: 3.866 MB / 454.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.387, allocations: 0.7909 MB / 454.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.3872, allocations: 47.14 kB / 455 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.3875, allocations: 120.3 kB / 455.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3875, allocations: 0 / 455.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.439, allocations: 9.76 MB / 464.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.57, allocations: 2.969 kB / 464.8 MB, free: 7.285 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.447349241934717]