Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001387/0.001387, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00149/0.00149, allocations: 215.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 55.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2272, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00525/0.2325, allocations: 3.202 MB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.2355, allocations: 1.598 MB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2359, allocations: 7.938 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.2391, allocations: 2.663 MB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.2396, allocations: 218.5 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.2404, allocations: 334.3 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2423, allocations: 1.825 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2425, allocations: 99.97 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.2429, allocations: 325 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.2433, allocations: 326.8 kB / 442.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.2434, allocations: 44 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.2437, allocations: 95.92 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.2443, allocations: 0.8491 MB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.2449, allocations: 0.6705 MB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.2475, allocations: 2.675 MB / 447.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2475, allocations: 4 kB / 447.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2475, allocations: 0 / 447.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.2475, allocations: 0 / 447.2 MB, free: 7.766 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00426/0.2518, allocations: 2.842 MB / 450.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2518, allocations: 11.98 kB / 450.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.2523, allocations: 306.9 kB / 450.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.2551, allocations: 1.806 MB / 452.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2552, allocations: 106.7 kB / 452.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.2554, allocations: 59.92 kB / 452.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.2562, allocations: 446.3 kB / 452.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2562, allocations: 0 / 452.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.2562, allocations: 16 kB / 452.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2562, allocations: 8 kB / 452.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.257, allocations: 323.8 kB / 453.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.2609, allocations: 2.552 MB / 455.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.2615, allocations: 301.1 kB / 456 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.2619, allocations: 157.6 kB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2619, allocations: 4 kB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2619, allocations: 38.56 kB / 456.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.2619, allocations: 0 / 456.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004885/0.2668, allocations: 2.402 MB / 458.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.2669, allocations: 85.55 kB / 458.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006471/0.2734, allocations: 5.457 MB / 464.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.2734, allocations: 33.7 kB / 464.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.2746, allocations: 1.168 MB / 465.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2748, allocations: 182.4 kB / 465.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.2749, allocations: 90.22 kB / 465.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.275, allocations: 337.9 kB / 465.9 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.2754, allocations: 132.9 kB / 466 MB, free: 4.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.2758, allocations: 221.1 kB / 466.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.2765, allocations: 384.3 kB / 466.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2765, allocations: 0 / 466.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001219/0.2777, allocations: 0.7129 MB / 467.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2778, allocations: 4 kB / 467.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2778, allocations: 7.984 kB / 467.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2778, allocations: 4 kB / 467.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.2783, allocations: 119.8 kB / 467.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2783, allocations: 4 kB / 467.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.2787, allocations: 19.95 kB / 467.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.2788, allocations: 19.98 kB / 467.5 MB, free: 3.078 MB / 366.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.001062/0.2798, allocations: 0.927 MB / 468.5 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.2802, allocations: 290 kB / 468.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.2816, allocations: 0.7865 MB / 469.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2816, allocations: 8 kB / 469.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2817, allocations: 0 / 469.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2817, allocations: 3.984 kB / 469.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2831, allocations: 1.18 MB / 470.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2831, allocations: 0 / 470.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.2836, allocations: 99.88 kB / 470.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.2839, allocations: 88.73 kB / 470.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.284, allocations: 11.94 kB / 470.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/0.2846, allocations: 0.6421 MB / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2846, allocations: 4.031 kB / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2864, allocations: 1.082 MB / 472.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009883/0.2873, allocations: 434 kB / 473.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.2875, allocations: 12 kB / 473.1 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.288, allocations: 20.05 kB / 473.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.2881, allocations: 32.5 kB / 473.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.2881, allocations: 20 kB / 473.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004797/0.2929, allocations: 3.982 MB / 477.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2929, allocations: 0 / 477.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006996/0.2936, allocations: 211.9 kB / 477.3 MB, free: 9.168 MB / 382.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.001657/0.2952, allocations: 456.2 kB / 477.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.2961, allocations: 356.8 kB / 478.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2961, allocations: 0 / 478.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.2965, allocations: 198.9 kB / 478.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2975, allocations: 195.2 kB / 478.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007616/0.3051, allocations: 5.692 MB / 484.2 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.3067, allocations: 1.246 MB / 485.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.307, allocations: 95.42 kB / 485.5 MB, free: 1.059 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.307, allocations: 0 / 485.5 MB, free: 1.059 MB / 382.1 MB Notification: Performance of Templates: time 0.06265/0.3697, allocations: 37.05 MB / 0.5103 GB, free: 11.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.26285702502355]