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.001657/0.001657, allocations: 107.6 kB / 21.18 MB, free: 452 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.001625/0.001625, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.392/1.392, 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.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.002182/0.002182, allocations: 61.8 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2935, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004762/0.2983, allocations: 3.109 MB / 399.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3006, allocations: 1.364 MB / 400.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.3008, allocations: 8.969 kB / 400.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.3044, allocations: 2.658 MB / 403.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.305, allocations: 175.2 kB / 403.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.3058, allocations: 298.1 kB / 403.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.3082, allocations: 1.8 MB / 405.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3085, allocations: 94.17 kB / 405.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.3089, allocations: 314 kB / 406.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.3093, allocations: 331.4 kB / 406.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3094, allocations: 43.41 kB / 406.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.3096, allocations: 73.28 kB / 406.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005985/0.3102, allocations: 0.8445 MB / 407.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.3106, allocations: 0.6688 MB / 408.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.3128, allocations: 2.647 MB / 410.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3128, allocations: 3.938 kB / 410.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3128, allocations: 0 / 410.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.3128, allocations: 0 / 410.7 MB, free: 1.797 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.004814/0.3177, allocations: 2.821 MB / 413.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3177, allocations: 13.33 kB / 413.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.3179, allocations: 74.47 kB / 413.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.3183, allocations: 294.8 kB / 413.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.3215, allocations: 1.795 MB / 415.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.3217, allocations: 109.1 kB / 415.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.3218, allocations: 56.75 kB / 415.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.3226, allocations: 448.2 kB / 416.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3226, allocations: 4 kB / 416.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.3227, allocations: 16.22 kB / 416.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3227, allocations: 8.5 kB / 416.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/0.3234, allocations: 329 kB / 416.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.3283, allocations: 2.624 MB / 419.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.3289, allocations: 301 kB / 419.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.3293, allocations: 149.7 kB / 419.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3293, allocations: 8 kB / 419.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3293, allocations: 38.55 kB / 419.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.3293, allocations: 0 / 419.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005239/0.3346, allocations: 2.372 MB / 422.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3346, allocations: 81.55 kB / 422.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007892/0.3425, allocations: 5.431 MB / 427.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/0.3426, allocations: 33.7 kB / 427.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.3439, allocations: 1.215 MB / 428.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.3441, allocations: 174.5 kB / 429.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.3443, allocations: 90.22 kB / 429.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3445, allocations: 329.9 kB / 429.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.3448, allocations: 136.9 kB / 429.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.3452, allocations: 225.1 kB / 429.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.346, allocations: 380.3 kB / 430.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.346, allocations: 0 / 430.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001427/0.3474, allocations: 0.6974 MB / 430.9 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3474, allocations: 11.94 kB / 430.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3474, allocations: 0 / 430.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3475, allocations: 8 kB / 430.9 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.348, allocations: 115.9 kB / 431.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.348, allocations: 7.938 kB / 431.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.3485, allocations: 19.98 kB / 431.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.3485, allocations: 19.94 kB / 431.1 MB, free: 15.91 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.001374/0.3499, allocations: 0.927 MB / 432 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.3503, allocations: 282.1 kB / 432.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.3519, allocations: 0.7669 MB / 433.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3519, allocations: 7.938 kB / 433.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3519, allocations: 7.922 kB / 433.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3519, allocations: 0 / 433.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3538, allocations: 1.242 MB / 434.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3538, allocations: 4 kB / 434.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.3543, allocations: 99.81 kB / 434.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.3547, allocations: 84.8 kB / 434.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.3547, allocations: 12 kB / 434.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/0.3554, allocations: 0.6383 MB / 435.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3554, allocations: 80 / 435.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.3574, allocations: 1.071 MB / 436.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.3585, allocations: 437.9 kB / 436.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.3587, allocations: 8.125 kB / 436.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.3592, allocations: 28.05 kB / 436.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.3593, allocations: 28.38 kB / 436.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3593, allocations: 16 kB / 436.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.006042/0.3654, allocations: 3.97 MB / 440.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3654, allocations: 0 / 440.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3664, allocations: 204 kB / 440.9 MB, free: 5.988 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.3703, allocations: 1.953 MB / 442.9 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.3711, allocations: 356.9 kB / 443.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3711, allocations: 0 / 443.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.3716, allocations: 206.9 kB / 443.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3729, allocations: 195.1 kB / 443.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/0.4144, allocations: 19.35 MB / 463 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.4161, allocations: 1.241 MB / 464.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000888/0.417, allocations: 271.6 kB / 464.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.4184, allocations: 0.9327 MB / 465.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4184, allocations: 3.938 kB / 465.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/0.534, allocations: 39.66 MB / 0.4932 GB, free: 5.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.1, allocations: 0 / 0.4932 GB, free: 5.379 MB / 414.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-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.mat","/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: 18.95266642794013]