Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2051, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004855/0.21, allocations: 3.198 MB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.2126, allocations: 1.601 MB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.2128, allocations: 8 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.216, allocations: 2.663 MB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.2165, allocations: 226.5 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.2172, allocations: 330.7 kB / 440.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.219, allocations: 1.825 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2192, allocations: 100 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.2196, allocations: 321 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.2201, allocations: 362.7 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2202, allocations: 48 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.2204, allocations: 87.98 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006804/0.2211, allocations: 0.8569 MB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.2217, allocations: 0.6589 MB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.2243, allocations: 2.683 MB / 447.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2243, allocations: 0 / 447.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2243, allocations: 0 / 447.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.2243, allocations: 0 / 447.3 MB, free: 7.746 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.004322/0.2286, allocations: 2.843 MB / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2287, allocations: 11.98 kB / 450.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.2291, allocations: 302.9 kB / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.2319, allocations: 1.802 MB / 452.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.232, allocations: 110.7 kB / 452.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.2322, allocations: 51.86 kB / 452.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.233, allocations: 458.3 kB / 452.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.233, allocations: 0 / 452.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.2331, allocations: 12 kB / 452.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2331, allocations: 8 kB / 452.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.2338, allocations: 327.7 kB / 453.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.2379, allocations: 2.556 MB / 455.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.2386, allocations: 305 kB / 456 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.2389, allocations: 153.7 kB / 456.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.2389, allocations: 4 kB / 456.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.239, allocations: 38.56 kB / 456.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.239, allocations: 0 / 456.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.00503/0.244, allocations: 2.412 MB / 458.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.244, allocations: 81.55 kB / 458.7 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/0.2505, allocations: 5.461 MB / 464.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.2505, allocations: 29.7 kB / 464.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.2517, allocations: 1.172 MB / 465.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2519, allocations: 178.4 kB / 465.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.252, allocations: 94.22 kB / 465.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2522, allocations: 326 kB / 466 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2525, allocations: 136.9 kB / 466.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2529, allocations: 221.1 kB / 466.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.2537, allocations: 388.3 kB / 466.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2537, allocations: 0 / 466.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001213/0.2549, allocations: 0.6974 MB / 467.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2549, allocations: 8 kB / 467.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2549, allocations: 7.984 kB / 467.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2549, allocations: 4 kB / 467.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.2555, allocations: 119.8 kB / 467.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2555, allocations: 4 kB / 467.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.2559, allocations: 19.95 kB / 467.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.2559, allocations: 23.92 kB / 467.6 MB, free: 3.059 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.001028/0.257, allocations: 0.9192 MB / 468.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.2573, allocations: 294 kB / 468.8 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.2588, allocations: 0.7865 MB / 469.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2588, allocations: 4 kB / 469.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2588, allocations: 0 / 469.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2588, allocations: 7.984 kB / 469.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2603, allocations: 1.184 MB / 470.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2603, allocations: 0 / 470.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.2608, allocations: 99.88 kB / 470.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.2612, allocations: 88.72 kB / 470.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.2612, allocations: 15.94 kB / 471 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006057/0.2618, allocations: 0.6382 MB / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2618, allocations: 0 / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2636, allocations: 1.094 MB / 472.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.2646, allocations: 434 kB / 473.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.2648, allocations: 12 kB / 473.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.2653, allocations: 20.05 kB / 473.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.2654, allocations: 28.39 kB / 473.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2654, allocations: 15.98 kB / 473.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004735/0.2701, allocations: 3.986 MB / 477.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2701, allocations: 0 / 477.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006446/0.2708, allocations: 207.9 kB / 477.4 MB, free: 9.148 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.001669/0.2725, allocations: 457.4 kB / 477.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008095/0.2733, allocations: 360.8 kB / 478.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2733, allocations: 0 / 478.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.2737, allocations: 198.4 kB / 478.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2748, allocations: 189.4 kB / 478.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/0.282, allocations: 5.507 MB / 484.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.2835, allocations: 1.246 MB / 485.3 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.284, allocations: 275.8 kB / 485.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.2843, allocations: 91.42 kB / 485.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2843, allocations: 0 / 485.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of Templates: time 0.03372/0.318, allocations: 17.64 MB / 0.4915 GB, free: 15.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 5.605830904998584]