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.001652/0.001652, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001914/0.001914, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001606/0.001606, allocations: 51.92 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.234, allocations: 53.35 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005648/0.2396, allocations: 3.985 MB / 435.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.2426, allocations: 1.558 MB / 437.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.2429, allocations: 11.94 kB / 437.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.2433, allocations: 125.3 kB / 437.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.2441, allocations: 365.6 kB / 437.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2446, allocations: 243.6 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.2456, allocations: 0.9785 MB / 438.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.2459, allocations: 158.1 kB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.2464, allocations: 398.7 kB / 439.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.2469, allocations: 430.2 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.247, allocations: 100 kB / 439.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.2474, allocations: 215.9 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.2476, allocations: 199.3 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.2479, allocations: 342.5 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2492, allocations: 1.183 MB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2492, allocations: 0 / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2492, allocations: 0 / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2492, allocations: 0 / 441.8 MB, free: 12.41 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.002562/0.2518, allocations: 1.046 MB / 442.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2518, allocations: 12.03 kB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.252, allocations: 88.45 kB / 442.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.2529, allocations: 477.4 kB / 443.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.253, allocations: 123 kB / 443.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.2532, allocations: 68.5 kB / 443.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2544, allocations: 0.7101 MB / 444.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.2544, allocations: 4 kB / 444.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2544, allocations: 20 kB / 444.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2545, allocations: 15.98 kB / 444.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.2556, allocations: 0.5204 MB / 444.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.2589, allocations: 1.971 MB / 446.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2599, allocations: 453.2 kB / 447.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.2604, allocations: 254 kB / 447.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2604, allocations: 7.938 kB / 447.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2605, allocations: 38.56 kB / 447.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.2605, allocations: 0 / 447.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01326/0.2737, allocations: 3.328 MB / 450.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.2738, allocations: 89.55 kB / 451 MB, free: 2.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.2746, allocations: 0.5173 MB / 451.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.2747, allocations: 37.7 kB / 451.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.2749, allocations: 316.8 kB / 451.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.2752, allocations: 226 kB / 452.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.2754, allocations: 110.3 kB / 452.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.2756, allocations: 374.8 kB / 452.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.2762, allocations: 245.2 kB / 452.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.2769, allocations: 356.5 kB / 453.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.2782, allocations: 0.5993 MB / 453.7 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2782, allocations: 0 / 453.7 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001671/0.2798, allocations: 0.7398 MB / 454.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2798, allocations: 7.938 kB / 454.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2799, allocations: 4.312 kB / 454.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.28, allocations: 36.83 kB / 454.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.2809, allocations: 167.8 kB / 454.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.2822, allocations: 1.3 MB / 456 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.2827, allocations: 35.98 kB / 456 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.2828, allocations: 27.98 kB / 456.1 MB, free: 13.63 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.0003219/0.2831, allocations: 197.7 kB / 456.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2832, allocations: 55.67 kB / 456.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.2853, allocations: 0.8396 MB / 457.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2853, allocations: 11.94 kB / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2853, allocations: 0 / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2853, allocations: 7.922 kB / 457.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.2891, allocations: 1.59 MB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2891, allocations: 0 / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.2897, allocations: 111.8 kB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.292, allocations: 475 kB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.2921, allocations: 15.98 kB / 459.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.2975, allocations: 2.968 MB / 462.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2975, allocations: 0 / 462.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.3007, allocations: 1.366 MB / 463.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.301, allocations: 131.7 kB / 463.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.3011, allocations: 12 kB / 463.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.3017, allocations: 43.91 kB / 463.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3018, allocations: 52.5 kB / 463.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.3019, allocations: 19.98 kB / 463.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.3024, allocations: 375.1 kB / 464.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3024, allocations: 0 / 464.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000731/0.3031, allocations: 191.9 kB / 464.5 MB, free: 5.031 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.0003325/0.3034, allocations: 139.1 kB / 464.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.305, allocations: 0.7109 MB / 465.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.305, allocations: 3.938 kB / 465.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.306, allocations: 0.4989 MB / 465.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.3066, allocations: 80.38 kB / 465.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.3095, allocations: 1.484 MB / 467.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3098, allocations: 303.1 kB / 467.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.3101, allocations: 68.59 kB / 467.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3103, allocations: 55.41 kB / 467.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3103, allocations: 0 / 467.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of Templates: time 0.01924/0.3295, allocations: 10.48 MB / 478.3 MB, free: 7.238 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/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: 4.879655872937292]