Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001677/0.001677, allocations: 115.8 kB / 19.18 MB, free: 3.883 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.001963/0.001963, allocations: 208.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 255.4 MB, free: 14.98 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.83 kB / 374.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.32 MB / 428.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00514/0.1088, allocations: 3.457 MB / 431.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2061/0.3149, allocations: 1.658 MB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.3153, allocations: 8.469 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.3185, allocations: 2.663 MB / 435.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.3193, allocations: 220.6 kB / 436.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.3201, allocations: 323.3 kB / 436.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.3227, allocations: 1.815 MB / 438.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.323, allocations: 94.39 kB / 438.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.3235, allocations: 320.8 kB / 438.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.324, allocations: 362.7 kB / 439 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.771e-05/0.3241, allocations: 44.66 kB / 439 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.3243, allocations: 93.75 kB / 439.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.3251, allocations: 0.8427 MB / 439.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.3258, allocations: 0.9442 MB / 440.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.3287, allocations: 2.654 MB / 443.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3287, allocations: 2.656 kB / 443.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3287, allocations: 0 / 443.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-05/0.3288, allocations: 0 / 443.5 MB, free: 6.516 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.004933/0.3337, allocations: 2.921 MB / 446.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3338, allocations: 8.906 kB / 446.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.3344, allocations: 308.3 kB / 446.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.3369, allocations: 1.86 MB / 448.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.337, allocations: 64.34 kB / 448.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.3371, allocations: 48.05 kB / 448.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.3378, allocations: 393.2 kB / 449.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3378, allocations: 5.375 kB / 449.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3379, allocations: 12.81 kB / 449.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3379, allocations: 9.625 kB / 449.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.3386, allocations: 336.6 kB / 449.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.3427, allocations: 2.898 MB / 452.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.3433, allocations: 307.2 kB / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.3436, allocations: 157.9 kB / 452.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.3437, allocations: 8.594 kB / 452.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3437, allocations: 36.19 kB / 452.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.993e-06/0.3437, allocations: 5.562 kB / 452.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004887/0.3486, allocations: 2.471 MB / 455.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.3486, allocations: 88.14 kB / 455.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/0.3563, allocations: 5.459 MB / 460.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.3564, allocations: 36.11 kB / 460.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.3576, allocations: 1.185 MB / 462.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.3578, allocations: 175.8 kB / 462.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.3579, allocations: 88.45 kB / 462.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3582, allocations: 326.3 kB / 462.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.3585, allocations: 140.2 kB / 462.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.3589, allocations: 221.8 kB / 463 MB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.3596, allocations: 391 kB / 463.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.3596, allocations: 3.938 kB / 463.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001443/0.361, allocations: 0.6959 MB / 464.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3611, allocations: 5.844 kB / 464.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3611, allocations: 3.828 kB / 464.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3611, allocations: 9.75 kB / 464.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3616, allocations: 123.7 kB / 464.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3616, allocations: 7.859 kB / 464.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.3621, allocations: 17.8 kB / 464.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3622, allocations: 17.47 kB / 464.3 MB, free: 10.39 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.001313/0.3635, allocations: 0.9206 MB / 465.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.3639, allocations: 284.1 kB / 465.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.3654, allocations: 0.7888 MB / 466.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3654, allocations: 5.219 kB / 466.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3654, allocations: 5.875 kB / 466.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3654, allocations: 5.234 kB / 466.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3674, allocations: 1.481 MB / 467.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3674, allocations: 4.922 kB / 467.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.3678, allocations: 99.5 kB / 467.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.3682, allocations: 92.78 kB / 468 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.3683, allocations: 15.94 kB / 468 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/0.3689, allocations: 0.6334 MB / 468.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3689, allocations: 0 / 468.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3707, allocations: 1.094 MB / 469.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/0.3714, allocations: 0.5011 MB / 470.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.3716, allocations: 5.125 kB / 470.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.3721, allocations: 23.98 kB / 470.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.3722, allocations: 28.39 kB / 470.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.3722, allocations: 12 kB / 470.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005337/0.3775, allocations: 3.994 MB / 474.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3775, allocations: 0 / 474.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3786, allocations: 207.9 kB / 474.5 MB, free: 1.211 MB / 366.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.001482/0.38, allocations: 414.7 kB / 474.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.381, allocations: 368.8 kB / 475.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.381, allocations: 0 / 475.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.3814, allocations: 206.4 kB / 475.5 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3827, allocations: 181.4 kB / 475.6 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008765/0.3915, allocations: 5.68 MB / 481.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.3932, allocations: 1.821 MB / 483.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.3939, allocations: 95.42 kB / 483.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3939, allocations: 0 / 483.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of Templates: time 0.06288/0.4568, allocations: 36.21 MB / 0.5073 GB, free: 4.383 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.14782229391858]