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.001593/0.001593, allocations: 118.8 kB / 19.18 MB, free: 3.762 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.001916/0.001916, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.463/1.463, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001823/0.001823, allocations: 59.91 kB / 374.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09312, allocations: 53.33 MB / 427.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005353/0.09848, allocations: 3.454 MB / 431.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/0.287, allocations: 1.655 MB / 432.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.2874, allocations: 9.812 kB / 433 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.2905, allocations: 2.661 MB / 435.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007341/0.2913, allocations: 226.2 kB / 435.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.2921, allocations: 317.7 kB / 436.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.2945, allocations: 1.813 MB / 438 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2947, allocations: 98.69 kB / 438.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.2952, allocations: 318.9 kB / 438.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.2956, allocations: 360.5 kB / 438.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.2957, allocations: 49.28 kB / 438.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.2959, allocations: 99.25 kB / 438.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.2966, allocations: 0.8465 MB / 439.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.2972, allocations: 0.9398 MB / 440.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.2999, allocations: 2.655 MB / 443.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2999, allocations: 0 / 443.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2999, allocations: 0 / 443.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.825e-05/0.2999, allocations: 1 kB / 443.3 MB, free: 6.594 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.004483/0.3044, allocations: 2.917 MB / 446.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3044, allocations: 9.719 kB / 446.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005215/0.305, allocations: 312.6 kB / 446.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.3075, allocations: 1.862 MB / 448.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.3075, allocations: 60.8 kB / 448.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.3077, allocations: 44.28 kB / 448.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.3084, allocations: 398.5 kB / 448.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3084, allocations: 4 kB / 448.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3085, allocations: 11.03 kB / 448.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3085, allocations: 9.031 kB / 448.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.3092, allocations: 335.4 kB / 449.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/0.3137, allocations: 2.902 MB / 452.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.3143, allocations: 303.7 kB / 452.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3146, allocations: 155 kB / 452.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.3146, allocations: 9.703 kB / 452.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3146, allocations: 36.81 kB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.3146, allocations: 0 / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005344/0.32, allocations: 2.482 MB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.32, allocations: 83.52 kB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007772/0.3278, allocations: 5.455 MB / 460.7 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.72e-05/0.3279, allocations: 36.11 kB / 460.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.3291, allocations: 1.192 MB / 461.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3293, allocations: 176.4 kB / 462.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3294, allocations: 87.61 kB / 462.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3296, allocations: 322.8 kB / 462.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.3299, allocations: 140.1 kB / 462.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.3303, allocations: 222.2 kB / 462.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.3311, allocations: 382.4 kB / 463.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3311, allocations: 1.906 kB / 463.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001454/0.3326, allocations: 0.7072 MB / 463.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3326, allocations: 7.594 kB / 463.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3326, allocations: 3.938 kB / 463.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3326, allocations: 4.281 kB / 463.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.3331, allocations: 124.5 kB / 464 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3331, allocations: 4.688 kB / 464 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.3337, allocations: 22.45 kB / 464.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.3337, allocations: 21.78 kB / 464.1 MB, free: 10.52 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.001262/0.335, allocations: 0.9122 MB / 465 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.3354, allocations: 289.1 kB / 465.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.3369, allocations: 0.8012 MB / 466.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3369, allocations: 10.41 kB / 466.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3369, allocations: 0 / 466.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3369, allocations: 1.438 kB / 466.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3389, allocations: 1.477 MB / 467.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3389, allocations: 0 / 467.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.3394, allocations: 95.5 kB / 467.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/0.3397, allocations: 99.94 kB / 467.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.3398, allocations: 15.98 kB / 467.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006184/0.3404, allocations: 0.6265 MB / 468.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3404, allocations: 3.938 kB / 468.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.3423, allocations: 1.094 MB / 469.5 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/0.343, allocations: 0.4991 MB / 470 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3432, allocations: 7.281 kB / 470 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.3438, allocations: 27.98 kB / 470 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.3438, allocations: 28.39 kB / 470.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3439, allocations: 12 kB / 470.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005499/0.3494, allocations: 3.99 MB / 474.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3494, allocations: 0 / 474.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3504, allocations: 208 kB / 474.3 MB, free: 1.355 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.001599/0.352, allocations: 426.6 kB / 474.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000923/0.3529, allocations: 352.9 kB / 475 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3529, allocations: 0 / 475 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.3534, allocations: 210.8 kB / 475.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3548, allocations: 192 kB / 475.4 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009127/0.3639, allocations: 5.688 MB / 481.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.3657, allocations: 1.825 MB / 482.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/0.3663, allocations: 91.42 kB / 483 MB, free: 8.715 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3663, allocations: 0 / 483 MB, free: 8.715 MB / 382.1 MB Notification: Performance of Templates: time 0.06427/0.4306, allocations: 36.21 MB / 0.5071 GB, free: 4.496 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/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_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: 8.466671010944992]