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.00166/0.00166, allocations: 120.7 kB / 19.18 MB, free: 3.906 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.002062/0.002062, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.453/1.453, allocations: 230.2 MB / 255.2 MB, free: 15.26 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.88 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09649, allocations: 53.33 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006324/0.1028, allocations: 4.403 MB / 432.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2073/0.3101, allocations: 1.643 MB / 433.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.3104, allocations: 10.94 kB / 433.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3108, allocations: 126 kB / 434 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.3115, allocations: 366.8 kB / 434.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3119, allocations: 249.6 kB / 434.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007494/0.3126, allocations: 0.9806 MB / 435.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.3129, allocations: 159.2 kB / 435.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.3134, allocations: 391.6 kB / 436.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.3138, allocations: 422.2 kB / 436.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.314, allocations: 97 kB / 436.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.3143, allocations: 222.9 kB / 436.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3145, allocations: 189 kB / 437.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.3148, allocations: 421 kB / 437.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.3164, allocations: 1.175 MB / 438.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3164, allocations: 0 / 438.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3164, allocations: 0 / 438.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.3164, allocations: 1.094 kB / 438.6 MB, free: 6.762 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.002641/0.3191, allocations: 1.117 MB / 439.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3191, allocations: 8.688 kB / 439.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.3195, allocations: 92.62 kB / 439.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.3203, allocations: 0.5225 MB / 440.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.3204, allocations: 77.89 kB / 440.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.3206, allocations: 64.67 kB / 440.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3218, allocations: 0.6061 MB / 441.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3218, allocations: 0.7031 kB / 441.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.3219, allocations: 25.56 kB / 441.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3219, allocations: 14.16 kB / 441.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.323, allocations: 0.524 MB / 441.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.3268, allocations: 2.295 MB / 444 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3279, allocations: 455.6 kB / 444.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.3284, allocations: 251.9 kB / 444.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.3285, allocations: 7.109 kB / 444.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3285, allocations: 42.59 kB / 444.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.475e-06/0.3285, allocations: 0 / 444.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01265/0.3411, allocations: 3.566 MB / 448.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3412, allocations: 88.48 kB / 448.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.3419, allocations: 0.5377 MB / 448.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.342, allocations: 36.23 kB / 448.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3421, allocations: 326.9 kB / 449.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3423, allocations: 224.8 kB / 449.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.3425, allocations: 112 kB / 449.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.3426, allocations: 365.9 kB / 450 MB, free: 492 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.3431, allocations: 246.3 kB / 450.2 MB, free: 392 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.3436, allocations: 346.5 kB / 450.5 MB, free: 196 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3449, allocations: 0.6103 MB / 451.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3449, allocations: 4.969 kB / 451.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001622/0.3465, allocations: 0.7439 MB / 451.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3465, allocations: 6.875 kB / 451.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3465, allocations: 2.75 kB / 451.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.3467, allocations: 35.02 kB / 451.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.3475, allocations: 162 kB / 452.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.3488, allocations: 1.431 MB / 453.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.3494, allocations: 38.84 kB / 453.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3495, allocations: 27.39 kB / 453.6 MB, free: 14.04 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.0003282/0.3498, allocations: 199.6 kB / 453.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.35, allocations: 69.95 kB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3519, allocations: 0.8292 MB / 454.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3519, allocations: 11.56 kB / 454.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3519, allocations: 1.375 kB / 454.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.3519, allocations: 3.609 kB / 454.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.3558, allocations: 1.838 MB / 456.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3558, allocations: 1.062 kB / 456.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.3563, allocations: 112.3 kB / 456.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.3586, allocations: 476.1 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.3587, allocations: 12.95 kB / 457.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005347/0.364, allocations: 3.153 MB / 460.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.364, allocations: 5.453 kB / 460.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.3672, allocations: 1.359 MB / 461.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.3677, allocations: 210.1 kB / 461.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3678, allocations: 13.62 kB / 461.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.3684, allocations: 38.94 kB / 461.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.3685, allocations: 54.05 kB / 461.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.3686, allocations: 16.38 kB / 462 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005649/0.3692, allocations: 401.3 kB / 462.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3692, allocations: 0 / 462.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008308/0.37, allocations: 190 kB / 462.5 MB, free: 8.5 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.0003126/0.3703, allocations: 148.6 kB / 462.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3719, allocations: 0.7061 MB / 463.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3719, allocations: 1.875 kB / 463.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.3728, allocations: 0.5008 MB / 463.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.3736, allocations: 89.03 kB / 464 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3766, allocations: 1.53 MB / 465.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.3771, allocations: 0.9031 MB / 466.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3773, allocations: 54.41 kB / 466.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3773, allocations: 0 / 466.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of Templates: time 0.01836/0.3957, allocations: 11.9 MB / 478.4 MB, free: 12.92 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.944829324027523]