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.006488/0.006488, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.001703/0.001703, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.461/1.461, allocations: 230.6 MB / 259 MB, free: 8.059 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.001937/0.001937, allocations: 67.88 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 53.38 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005483/0.2878, allocations: 3.479 MB / 436.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.291, allocations: 1.683 MB / 438.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.2913, allocations: 4 kB / 438.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.2947, allocations: 2.671 MB / 441 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007134/0.2955, allocations: 218.5 kB / 441.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.2964, allocations: 325.7 kB / 441.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.2986, allocations: 1.821 MB / 443.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.2988, allocations: 96.38 kB / 443.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.2994, allocations: 332.9 kB / 443.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.2998, allocations: 354.7 kB / 444.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.061e-05/0.2999, allocations: 52 kB / 444.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.3001, allocations: 87.98 kB / 444.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.3008, allocations: 0.8569 MB / 445.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000801/0.3016, allocations: 0.9346 MB / 446.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.3044, allocations: 2.65 MB / 448.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3044, allocations: 3.938 kB / 448.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3044, allocations: 0 / 448.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.3045, allocations: 0 / 448.7 MB, free: 7.387 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.004376/0.3088, allocations: 2.843 MB / 451.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3089, allocations: 8.031 kB / 451.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.3094, allocations: 314.9 kB / 451.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.3121, allocations: 1.806 MB / 453.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.3122, allocations: 59.27 kB / 453.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.3124, allocations: 55.86 kB / 453.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.3133, allocations: 391 kB / 454.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3133, allocations: 4 kB / 454.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3133, allocations: 16 kB / 454.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3133, allocations: 8 kB / 454.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.3141, allocations: 327.7 kB / 454.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.3191, allocations: 2.861 MB / 457.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.3198, allocations: 303.9 kB / 457.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.3202, allocations: 152.6 kB / 457.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.3202, allocations: 4 kB / 457.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3203, allocations: 51.08 kB / 457.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.3203, allocations: 0 / 457.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005422/0.3257, allocations: 2.393 MB / 460.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3258, allocations: 85.55 kB / 460.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00776/0.3335, allocations: 5.452 MB / 465.8 MB, free: 6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.3336, allocations: 37.69 kB / 465.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.3349, allocations: 1.199 MB / 467 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.3351, allocations: 166.5 kB / 467.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3353, allocations: 98.17 kB / 467.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3354, allocations: 326 kB / 467.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3358, allocations: 136.9 kB / 467.8 MB, free: 4.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.3362, allocations: 221.1 kB / 468 MB, free: 3.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.337, allocations: 380.3 kB / 468.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.337, allocations: 3.938 kB / 468.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001589/0.3386, allocations: 0.6974 MB / 469 MB, free: 2.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3386, allocations: 8 kB / 469 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3386, allocations: 4 kB / 469.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3386, allocations: 4 kB / 469.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.3392, allocations: 119.8 kB / 469.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.3392, allocations: 11.97 kB / 469.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3397, allocations: 16 kB / 469.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.3397, allocations: 16 kB / 469.2 MB, free: 2.504 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.001327/0.341, allocations: 0.9347 MB / 470.2 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.3414, allocations: 286.1 kB / 470.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.343, allocations: 0.7943 MB / 471.2 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.343, allocations: 4 kB / 471.2 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.343, allocations: 4 kB / 471.2 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.343, allocations: 4 kB / 471.2 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.345, allocations: 1.449 MB / 472.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.345, allocations: 3.938 kB / 472.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.3455, allocations: 99.81 kB / 472.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/0.3459, allocations: 96.77 kB / 472.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.3459, allocations: 15.98 kB / 472.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006398/0.3466, allocations: 0.6304 MB / 473.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3466, allocations: 0 / 473.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3484, allocations: 1.094 MB / 474.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.3492, allocations: 430 kB / 475 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.3494, allocations: 8 kB / 475 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.3499, allocations: 23.98 kB / 475.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.35, allocations: 32.38 kB / 475.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.35, allocations: 11.98 kB / 475.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005242/0.3552, allocations: 3.986 MB / 479.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3552, allocations: 0 / 479.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007723/0.356, allocations: 208 kB / 479.3 MB, free: 8.301 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.001555/0.3576, allocations: 428.8 kB / 479.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000906/0.3585, allocations: 360.8 kB / 480.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3585, allocations: 0 / 480.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.359, allocations: 202.8 kB / 480.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.36, allocations: 188.1 kB / 480.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00836/0.3684, allocations: 5.68 MB / 486.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.3702, allocations: 1.821 MB / 488 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.3707, allocations: 103.4 kB / 488.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3707, allocations: 0 / 488.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of Templates: time 0.06503/0.4357, allocations: 36.19 MB / 0.512 GB, free: 11.4 MB / 430.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/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-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.278887232067063]