Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001313/0.001313, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.001455/0.001455, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.469/1.469, allocations: 207.6 MB / 235.3 MB, free: 10 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.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",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.001755/0.001755, allocations: 55.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3084, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005418/0.3138, allocations: 3.377 MB / 399.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3168, allocations: 1.427 MB / 401.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.3172, allocations: 9.25 kB / 401.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.3213, allocations: 2.661 MB / 403.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.322, allocations: 178.5 kB / 404 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.3229, allocations: 290.5 kB / 404.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.3256, allocations: 1.8 MB / 406.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3259, allocations: 107.2 kB / 406.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.3263, allocations: 321.7 kB / 406.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.3267, allocations: 346.9 kB / 406.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-05/0.3268, allocations: 44.31 kB / 406.9 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.327, allocations: 77.14 kB / 407 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005805/0.3276, allocations: 0.8445 MB / 407.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.3282, allocations: 0.9417 MB / 408.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.3302, allocations: 2.615 MB / 411.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3302, allocations: 1.781 kB / 411.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3302, allocations: 0 / 411.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.3302, allocations: 4 kB / 411.4 MB, free: 1.27 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004628/0.3348, allocations: 2.82 MB / 414.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3349, allocations: 13.33 kB / 414.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.335, allocations: 74.53 kB / 414.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.3355, allocations: 294.2 kB / 414.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.3388, allocations: 1.79 MB / 416.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.339, allocations: 116.5 kB / 416.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.3392, allocations: 45.39 kB / 416.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.34, allocations: 399.4 kB / 416.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.34, allocations: 1.375 kB / 416.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.34, allocations: 14.75 kB / 416.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.34, allocations: 9.625 kB / 416.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.3408, allocations: 331.6 kB / 417.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.3463, allocations: 2.854 MB / 420.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.347, allocations: 302 kB / 420.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.3473, allocations: 153.7 kB / 420.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.3474, allocations: 8 kB / 420.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.3474, allocations: 38.48 kB / 420.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 4.268e-06/0.3474, allocations: 3.984 kB / 420.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005412/0.3528, allocations: 2.362 MB / 423 MB, free: 8.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.3529, allocations: 81.55 kB / 423 MB, free: 8.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007562/0.3605, allocations: 5.435 MB / 428.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.3605, allocations: 33.7 kB / 428.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.3618, allocations: 1.219 MB / 429.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.3621, allocations: 178.4 kB / 429.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.3622, allocations: 94.12 kB / 430 MB, free: 1.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3624, allocations: 322 kB / 430.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3628, allocations: 140.9 kB / 430.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.3632, allocations: 221.1 kB / 430.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.3639, allocations: 380.3 kB / 431 MB, free: 220 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3639, allocations: 0 / 431 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001565/0.3655, allocations: 0.6934 MB / 431.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3655, allocations: 8 kB / 431.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3655, allocations: 3.938 kB / 431.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3655, allocations: 8 kB / 431.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.3661, allocations: 119.8 kB / 431.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3661, allocations: 7.938 kB / 431.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.3666, allocations: 28.12 kB / 431.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3666, allocations: 20 kB / 431.9 MB, free: 15.32 MB / 350.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.001409/0.368, allocations: 0.9154 MB / 432.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.3684, allocations: 278.1 kB / 433.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.3699, allocations: 0.7746 MB / 433.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.3699, allocations: 11.98 kB / 433.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3699, allocations: 0 / 433.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3699, allocations: 3.938 kB / 433.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.3718, allocations: 1.433 MB / 435.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3719, allocations: 8 kB / 435.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.3723, allocations: 95.88 kB / 435.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.3726, allocations: 88.78 kB / 435.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.3727, allocations: 15.98 kB / 435.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000617/0.3733, allocations: 0.6227 MB / 436.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3733, allocations: 0 / 436.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.3751, allocations: 1.083 MB / 437.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.3762, allocations: 422.1 kB / 437.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3763, allocations: 11.94 kB / 437.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.3768, allocations: 27.98 kB / 437.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.3769, allocations: 28.38 kB / 437.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3769, allocations: 15.98 kB / 437.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005731/0.3827, allocations: 3.97 MB / 441.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3827, allocations: 0 / 441.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001065/0.3837, allocations: 207.9 kB / 441.9 MB, free: 5.223 MB / 350.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.003801/0.3875, allocations: 1.926 MB / 443.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.3884, allocations: 364.9 kB / 444.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3884, allocations: 0 / 444.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.3888, allocations: 206.4 kB / 444.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.3901, allocations: 199.6 kB / 444.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/0.4322, allocations: 19.35 MB / 463.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/0.434, allocations: 1.825 MB / 465.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000813/0.4348, allocations: 271.6 kB / 466 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.4361, allocations: 0.9288 MB / 466.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4361, allocations: 4 kB / 466.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09167/0.5277, allocations: 39.08 MB / 0.4942 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/18.41, allocations: 16 kB / 0.4942 GB, free: 4.625 MB / 414.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 21.380701182999474]