Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001212/0.001212, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.00141/0.00141, allocations: 219.5 kB / 23 MB, free: 5.574 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.41/1.41, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 71.88 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2909, allocations: 53.31 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005064/0.296, allocations: 3.501 MB / 433.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.2988, allocations: 1.667 MB / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.299, allocations: 7.938 kB / 435 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.302, allocations: 2.663 MB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.3027, allocations: 222.5 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.3035, allocations: 326.9 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.306, allocations: 1.817 MB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.3062, allocations: 95.97 kB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.3067, allocations: 317 kB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.3071, allocations: 358.7 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.3072, allocations: 48 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.3074, allocations: 95.98 kB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.3083, allocations: 0.853 MB / 441.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008864/0.3092, allocations: 0.9423 MB / 442.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.3124, allocations: 2.639 MB / 445.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3124, allocations: 4 kB / 445.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3124, allocations: 0 / 445.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.3124, allocations: 4 kB / 445.3 MB, free: 7.949 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.004941/0.3174, allocations: 2.919 MB / 448.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3174, allocations: 8.031 kB / 448.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.3179, allocations: 310.9 kB / 448.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.3208, allocations: 1.862 MB / 450.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.3209, allocations: 59.27 kB / 450.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.3211, allocations: 48.48 kB / 450.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.3219, allocations: 395 kB / 450.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3219, allocations: 4 kB / 450.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.322, allocations: 12 kB / 450.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.322, allocations: 12 kB / 450.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.3227, allocations: 331.7 kB / 451.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.3276, allocations: 2.904 MB / 454.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.3283, allocations: 297 kB / 454.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.3286, allocations: 157.6 kB / 454.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.3287, allocations: 11.98 kB / 454.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.3287, allocations: 39.16 kB / 454.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.695e-06/0.3287, allocations: 0 / 454.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.00556/0.3343, allocations: 2.483 MB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.3344, allocations: 89.48 kB / 457.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00759/0.342, allocations: 5.455 MB / 462.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.62e-05/0.342, allocations: 33.7 kB / 462.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.3434, allocations: 1.184 MB / 463.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3437, allocations: 174.6 kB / 464.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3438, allocations: 94.2 kB / 464.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.3441, allocations: 330 kB / 464.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.3444, allocations: 133.1 kB / 464.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.3449, allocations: 225.7 kB / 464.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.3456, allocations: 380.3 kB / 465.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3456, allocations: 4 kB / 465.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001583/0.3472, allocations: 0.7012 MB / 465.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3472, allocations: 8 kB / 465.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3472, allocations: 0 / 465.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3472, allocations: 4 kB / 465.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.3478, allocations: 127.8 kB / 466 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3478, allocations: 7.984 kB / 466 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.3483, allocations: 12 kB / 466.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.3484, allocations: 23.94 kB / 466.1 MB, free: 2.75 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.001258/0.3496, allocations: 0.9232 MB / 467 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.35, allocations: 290 kB / 467.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.3518, allocations: 0.7981 MB / 468.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.3518, allocations: 4 kB / 468.1 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3518, allocations: 4 kB / 468.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3518, allocations: 0 / 468.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.3537, allocations: 1.477 MB / 469.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3537, allocations: 0 / 469.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.3542, allocations: 95.88 kB / 469.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.3545, allocations: 100.7 kB / 469.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.3546, allocations: 11.98 kB / 469.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/0.3552, allocations: 0.6305 MB / 470.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3552, allocations: 0 / 470.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.357, allocations: 1.098 MB / 471.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.3578, allocations: 0.4991 MB / 472 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.358, allocations: 11.98 kB / 472 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.3584, allocations: 20 kB / 472 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.3585, allocations: 28.39 kB / 472.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.3586, allocations: 15.98 kB / 472.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005339/0.3639, allocations: 3.99 MB / 476.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3639, allocations: 0 / 476.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008617/0.3648, allocations: 204 kB / 476.3 MB, free: 8.426 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.001571/0.3663, allocations: 419.4 kB / 476.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.3672, allocations: 360.8 kB / 477 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3672, allocations: 0 / 477 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.3677, allocations: 194.9 kB / 477.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3688, allocations: 187.3 kB / 477.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.3765, allocations: 5.508 MB / 482.9 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.3783, allocations: 1.821 MB / 484.7 MB, free: 12 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006396/0.3789, allocations: 275.8 kB / 485 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.3792, allocations: 99.36 kB / 485.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3792, allocations: 0 / 485.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.03335/0.4125, allocations: 15.83 MB / 0.4892 GB, free: 15.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.820957597345114]