Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00146/0.00146, allocations: 75.75 kB / 21.97 MB, free: 2.598 MB / 18.57 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.001155/0.001155, allocations: 167.6 kB / 25.32 MB, free: 8.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8878/0.8878, allocations: 158.6 MB / 187.2 MB, free: 2.457 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.294e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005936/0.005969, allocations: 3.344 MB / 254.4 MB, free: 212 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.009168, allocations: 1.403 MB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.009535, allocations: 4 kB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.01356, allocations: 2.666 MB / 258.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000802/0.01436, allocations: 186.5 kB / 258.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.01524, allocations: 287.3 kB / 258.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.01857, allocations: 1.813 MB / 260.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.01886, allocations: 91.64 kB / 260.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.01965, allocations: 417.1 kB / 261.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.02012, allocations: 291.2 kB / 261.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.0202, allocations: 48 kB / 261.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.02037, allocations: 79.92 kB / 261.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.02088, allocations: 0.861 MB / 262.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.02124, allocations: 466.1 kB / 263 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.02248, allocations: 1.475 MB / 264.4 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.02249, allocations: 3.938 kB / 264.4 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.02249, allocations: 4 kB / 264.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.18e-05/0.02258, allocations: 0 / 264.4 MB, free: 6.117 MB / 250.7 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.004833/0.02741, allocations: 3.044 MB / 267.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.02747, allocations: 8.031 kB / 267.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.02802, allocations: 331 kB / 267.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.03055, allocations: 1.292 MB / 269.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.03068, allocations: 110.7 kB / 269.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.03086, allocations: 48.73 kB / 269.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.03156, allocations: 391.5 kB / 269.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.03158, allocations: 0 / 269.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.03162, allocations: 16 kB / 269.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.03164, allocations: 8 kB / 269.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.0321, allocations: 193.8 kB / 269.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.03658, allocations: 2.661 MB / 272.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.03711, allocations: 254.8 kB / 272.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.03731, allocations: 115.3 kB / 272.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.03736, allocations: 8 kB / 272.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.0374, allocations: 41.39 kB / 272.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 3.536e-06/0.0374, allocations: 0 / 272.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004241/0.04164, allocations: 2.077 MB / 275 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.04169, allocations: 89.55 kB / 275.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006507/0.0482, allocations: 3.45 MB / 278.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.04829, allocations: 33.7 kB / 278.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.04987, allocations: 1.415 MB / 280 MB, free: 6.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.05005, allocations: 166.5 kB / 280.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.05021, allocations: 95.8 kB / 280.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.05038, allocations: 0.5003 MB / 280.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.05061, allocations: 72.95 kB / 280.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.05087, allocations: 178.6 kB / 281 MB, free: 5.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.05135, allocations: 283 kB / 281.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.05136, allocations: 0 / 281.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001356/0.05271, allocations: 0.5934 MB / 281.9 MB, free: 4.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.05274, allocations: 8 kB / 281.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.05275, allocations: 0 / 281.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.05278, allocations: 4 kB / 281.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.05328, allocations: 119.8 kB / 282 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.0533, allocations: 4 kB / 282 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.05371, allocations: 19.98 kB / 282 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.05374, allocations: 16 kB / 282 MB, free: 4.059 MB / 266.7 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.0003056/0.05405, allocations: 196.5 kB / 282.2 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.05439, allocations: 294.1 kB / 282.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.05542, allocations: 0.5602 MB / 283.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.05543, allocations: 8 kB / 283.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.05544, allocations: 0 / 283.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.05545, allocations: 3.984 kB / 283.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.05772, allocations: 1.513 MB / 284.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.05773, allocations: 4 kB / 284.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.05812, allocations: 91.88 kB / 284.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.05846, allocations: 75.56 kB / 284.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.0585, allocations: 12 kB / 284.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006167/0.05912, allocations: 0.8624 MB / 285.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.05912, allocations: 0 / 285.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.06048, allocations: 0.9695 MB / 286.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/0.06122, allocations: 402 kB / 287 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.06142, allocations: 15.94 kB / 287 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.06183, allocations: 15.98 kB / 287 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.06192, allocations: 36.33 kB / 287.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.06196, allocations: 15.98 kB / 287.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003678/0.06563, allocations: 2.029 MB / 289.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.06563, allocations: 0 / 289.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009467/0.06658, allocations: 204 kB / 289.3 MB, free: 12.65 MB / 282.7 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.001325/0.06791, allocations: 392.4 kB / 289.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.06861, allocations: 266.9 kB / 290 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.06861, allocations: 4 kB / 290 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.06903, allocations: 160.6 kB / 290.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.07023, allocations: 183 kB / 290.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006942/0.07717, allocations: 3.957 MB / 294.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.07782, allocations: 0.5511 MB / 294.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004875/0.07831, allocations: 175.5 kB / 295 MB, free: 6.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.07861, allocations: 92.48 kB / 295.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of SimCode: time 1.853e-06/0.07861, allocations: 0 / 295.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of Templates: time 0.1334/0.212, allocations: 15.26 MB / 310.3 MB, free: 50.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2685782620683312]