Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001438/0.001438, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002215/0.002215, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 59.91 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1108, allocations: 53.33 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006141/0.117, allocations: 4.393 MB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2071/0.324, allocations: 1.647 MB / 432.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.3244, allocations: 11.25 kB / 432.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.3248, allocations: 125.5 kB / 432.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.3255, allocations: 367.5 kB / 433.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.326, allocations: 249.2 kB / 433.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.3267, allocations: 0.9769 MB / 434.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.327, allocations: 167.5 kB / 434.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.3274, allocations: 377.9 kB / 435 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.3278, allocations: 424.3 kB / 435.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.328, allocations: 95.72 kB / 435.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.3283, allocations: 222.3 kB / 435.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3285, allocations: 194 kB / 435.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.3288, allocations: 419.5 kB / 436.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3301, allocations: 1.175 MB / 437.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3301, allocations: 0 / 437.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3301, allocations: 1.031 kB / 437.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.3301, allocations: 0 / 437.5 MB, free: 6.367 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002483/0.3326, allocations: 1.118 MB / 438.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3326, allocations: 10.28 kB / 438.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.3327, allocations: 97.36 kB / 438.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.333, allocations: 92.84 kB / 438.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.3338, allocations: 0.5208 MB / 439.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.3339, allocations: 77.8 kB / 439.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.3341, allocations: 71.88 kB / 439.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3352, allocations: 0.6072 MB / 440 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3352, allocations: 0 / 440 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.3353, allocations: 22.05 kB / 440.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3353, allocations: 13.97 kB / 440.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3364, allocations: 0.5242 MB / 440.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.3397, allocations: 2.303 MB / 442.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.3407, allocations: 448.4 kB / 443.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.3413, allocations: 256.1 kB / 443.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3413, allocations: 8.406 kB / 443.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3413, allocations: 38.59 kB / 443.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.3413, allocations: 0 / 443.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01277/0.3541, allocations: 3.564 MB / 447.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3541, allocations: 84.42 kB / 447.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.3549, allocations: 0.5375 MB / 447.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.355, allocations: 41.39 kB / 447.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3551, allocations: 318.3 kB / 448.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3553, allocations: 218.4 kB / 448.4 MB, free: 428 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.3555, allocations: 116.4 kB / 448.5 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.3555, allocations: 370.7 kB / 448.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.3563, allocations: 261.5 kB / 449.1 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3569, allocations: 354.4 kB / 449.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3582, allocations: 0.6025 MB / 450.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3582, allocations: 3.625 kB / 450.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001649/0.3598, allocations: 0.7435 MB / 450.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3598, allocations: 6.359 kB / 450.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3598, allocations: 1.906 kB / 450.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.3601, allocations: 39.7 kB / 450.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.3609, allocations: 162.3 kB / 451 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3622, allocations: 1.433 MB / 452.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.3628, allocations: 38.66 kB / 452.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.3629, allocations: 28.22 kB / 452.5 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.3632, allocations: 198.3 kB / 452.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3634, allocations: 65.83 kB / 452.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.3653, allocations: 0.8376 MB / 453.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3653, allocations: 11.34 kB / 453.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3653, allocations: 2.312 kB / 453.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3653, allocations: 3.609 kB / 453.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.3692, allocations: 1.835 MB / 455.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3692, allocations: 1.219 kB / 455.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.3697, allocations: 111.5 kB / 455.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.372, allocations: 469.5 kB / 456 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.3721, allocations: 15.42 kB / 456.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.3775, allocations: 3.159 MB / 459.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3775, allocations: 0 / 459.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.3806, allocations: 1.363 MB / 460.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.3811, allocations: 215.6 kB / 460.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/0.3812, allocations: 10.84 kB / 460.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.3818, allocations: 42.7 kB / 460.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.3819, allocations: 50.28 kB / 460.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.382, allocations: 20.72 kB / 460.9 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.3825, allocations: 392.2 kB / 461.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 1.125 kB / 461.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008063/0.3833, allocations: 188.8 kB / 461.5 MB, free: 8.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003624/0.3869, allocations: 1.949 MB / 463.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.3886, allocations: 0.7119 MB / 464.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3886, allocations: 4.562 kB / 464.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.3896, allocations: 0.5011 MB / 464.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.3905, allocations: 95.61 kB / 464.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4006, allocations: 5.939 MB / 470.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.4013, allocations: 0.8999 MB / 471.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003916/0.4017, allocations: 72.22 kB / 471.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.4021, allocations: 242.9 kB / 471.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4021, allocations: 4 kB / 471.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05063/0.4527, allocations: 15.88 MB / 487.8 MB, free: 2.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.87, allocations: 7.859 kB / 487.8 MB, free: 2.391 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.834635778795928]