Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001463/0.001463, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001294/0.001294, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 47.92 kB / 379 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005847/0.2335, allocations: 4.424 MB / 436.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.2364, allocations: 1.667 MB / 438.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.2366, allocations: 11.94 kB / 438.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.237, allocations: 130.5 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.2378, allocations: 365.6 kB / 439 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.2382, allocations: 255.6 kB / 439.2 MB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.2392, allocations: 0.9746 MB / 440.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.2395, allocations: 166 kB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.24, allocations: 390.8 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.2405, allocations: 422.3 kB / 441.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2407, allocations: 96 kB / 441.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.241, allocations: 227.9 kB / 441.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.2412, allocations: 195.4 kB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.2416, allocations: 418 kB / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2429, allocations: 1.174 MB / 443.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2429, allocations: 0 / 443.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2429, allocations: 0 / 443.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2429, allocations: 4 kB / 443.3 MB, free: 12.04 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002374/0.2453, allocations: 1.038 MB / 444.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2453, allocations: 12.03 kB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.2456, allocations: 96.45 kB / 444.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.2464, allocations: 473.4 kB / 444.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2465, allocations: 123 kB / 445 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.2467, allocations: 68.48 kB / 445 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.2478, allocations: 0.6097 MB / 445.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2478, allocations: 0 / 445.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.2479, allocations: 20 kB / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2479, allocations: 12 kB / 445.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.249, allocations: 0.5282 MB / 446.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.2525, allocations: 2.251 MB / 448.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.2535, allocations: 454.9 kB / 448.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.254, allocations: 250 kB / 449.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.254, allocations: 8.219 kB / 449.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2541, allocations: 38.56 kB / 449.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.2541, allocations: 3.938 kB / 449.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01277/0.2668, allocations: 3.332 MB / 452.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.2669, allocations: 85.61 kB / 452.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.2676, allocations: 0.541 MB / 453.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.2677, allocations: 37.7 kB / 453.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.2679, allocations: 316.9 kB / 453.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2681, allocations: 218.1 kB / 453.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.2683, allocations: 122.3 kB / 453.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2685, allocations: 362.8 kB / 454.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.2691, allocations: 249.2 kB / 454.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.2697, allocations: 356.4 kB / 454.8 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.2709, allocations: 0.5954 MB / 455.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2709, allocations: 4 kB / 455.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001537/0.2725, allocations: 0.7474 MB / 456.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2725, allocations: 4.312 kB / 456.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2725, allocations: 8 kB / 456.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.2726, allocations: 28.84 kB / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.2735, allocations: 167.8 kB / 456.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.2746, allocations: 1.327 MB / 457.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.2752, allocations: 47.97 kB / 457.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.2752, allocations: 23.98 kB / 457.7 MB, free: 13.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.2755, allocations: 197.7 kB / 457.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.2756, allocations: 63.58 kB / 458 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.2775, allocations: 0.8359 MB / 458.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.2775, allocations: 11.94 kB / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2775, allocations: 4 kB / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2775, allocations: 3.984 kB / 458.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.2813, allocations: 1.808 MB / 460.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2813, allocations: 0 / 460.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.2818, allocations: 111.9 kB / 460.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.2841, allocations: 484.3 kB / 461.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.2841, allocations: 15.98 kB / 461.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005209/0.2893, allocations: 3.038 MB / 464.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2893, allocations: 4.031 kB / 464.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.2923, allocations: 1.37 MB / 465.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.2926, allocations: 135.5 kB / 465.8 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.2927, allocations: 12 kB / 465.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005973/0.2933, allocations: 39.97 kB / 465.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.2935, allocations: 52.56 kB / 465.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.2935, allocations: 19.98 kB / 465.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005044/0.294, allocations: 390.9 kB / 466.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.294, allocations: 0 / 466.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.2947, allocations: 191.8 kB / 466.5 MB, free: 4.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/0.295, allocations: 159.2 kB / 466.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2965, allocations: 0.7113 MB / 467.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2965, allocations: 0 / 467.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.2975, allocations: 0.4943 MB / 467.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.2981, allocations: 95.8 kB / 467.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.301, allocations: 1.513 MB / 469.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.3015, allocations: 0.9003 MB / 470.4 MB, free: 108 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.3018, allocations: 59.41 kB / 470.4 MB, free: 48 kB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3018, allocations: 3.938 kB / 470.4 MB, free: 44 kB / 366.1 MB Notification: Performance of Templates: time 0.01643/0.3182, allocations: 11.91 MB / 482.3 MB, free: 4.188 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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: 7.559865783201531]