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.001189/0.001189, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001364/0.001364, allocations: 172.5 kB / 25.61 MB, free: 8.48 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.9592/0.9592, allocations: 158.6 MB / 187.5 MB, free: 2.82 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 2.325e-06/2.325e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.246e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005232/0.005264, allocations: 3.3 MB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.008035, allocations: 1.384 MB / 256.1 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.008336, allocations: 7.938 kB / 256.2 MB, free: 2.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.01199, allocations: 2.674 MB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.01257, allocations: 186.5 kB / 259 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.01335, allocations: 283.4 kB / 259.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.01563, allocations: 1.817 MB / 261.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.01581, allocations: 87.69 kB / 261.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009129/0.01672, allocations: 481.2 kB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.01702, allocations: 295.3 kB / 262 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.01708, allocations: 44 kB / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.0172, allocations: 79.86 kB / 262.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.01764, allocations: 0.861 MB / 262.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.01795, allocations: 470.1 kB / 263.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.01901, allocations: 1.483 MB / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01901, allocations: 0 / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01901, allocations: 0 / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.01905, allocations: 0 / 264.9 MB, free: 9.801 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.002617/0.02167, allocations: 3.028 MB / 267.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.0217, allocations: 8.031 kB / 267.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.02195, allocations: 330.9 kB / 268.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.0229, allocations: 1.193 MB / 269.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.02299, allocations: 110.7 kB / 269.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.0231, allocations: 52.72 kB / 269.6 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.02345, allocations: 359.5 kB / 269.9 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.02346, allocations: 7.938 kB / 269.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.02349, allocations: 16 kB / 270 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.0235, allocations: 8 kB / 270 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.0237, allocations: 158.8 kB / 270.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.02564, allocations: 2.057 MB / 272.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.02591, allocations: 233 kB / 272.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.02601, allocations: 103.2 kB / 272.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.02604, allocations: 7.938 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.02606, allocations: 41.39 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.02606, allocations: 4 kB / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001831/0.02789, allocations: 1.248 MB / 273.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.02792, allocations: 81.61 kB / 273.9 MB, free: 468 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.03048, allocations: 3.28 MB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.03051, allocations: 41.73 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000936/0.03144, allocations: 1.52 MB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.03154, allocations: 174.5 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.03164, allocations: 99.75 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.03176, allocations: 0.4965 MB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.03184, allocations: 52.95 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.03197, allocations: 166.4 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.0322, allocations: 251 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.0322, allocations: 0 / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004957/0.0327, allocations: 0.5581 MB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.03271, allocations: 4.25 kB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.03272, allocations: 8 kB / 280.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.03273, allocations: 11.88 kB / 280.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.03301, allocations: 119.8 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.03302, allocations: 4 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.03321, allocations: 15.95 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.03324, allocations: 16 kB / 280.7 MB, free: 9.535 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.0002048/0.03344, allocations: 180.4 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.03364, allocations: 302.1 kB / 281.2 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.03424, allocations: 0.5329 MB / 281.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.03424, allocations: 4 kB / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.03424, allocations: 3.938 kB / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.03425, allocations: 11.97 kB / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.03533, allocations: 1.003 MB / 282.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03533, allocations: 0 / 282.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.03559, allocations: 95.88 kB / 282.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.03576, allocations: 63.62 kB / 282.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.03578, allocations: 15.98 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004411/0.03622, allocations: 0.8428 MB / 283.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.03623, allocations: 0 / 283.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.03694, allocations: 0.9343 MB / 284.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.03729, allocations: 350 kB / 285 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.03738, allocations: 16.03 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.0376, allocations: 19.98 kB / 285 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.03765, allocations: 32.38 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.03766, allocations: 8 kB / 285.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.03908, allocations: 1.849 MB / 286.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.03908, allocations: 0 / 286.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.03949, allocations: 204 kB / 287.1 MB, free: 2.977 MB / 266.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.0007581/0.04024, allocations: 395.1 kB / 287.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.04056, allocations: 235.3 kB / 287.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.04056, allocations: 0 / 287.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.04076, allocations: 152.5 kB / 287.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.04141, allocations: 194.9 kB / 288.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.04528, allocations: 3.925 MB / 292 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.04569, allocations: 0.5472 MB / 292.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.04593, allocations: 171.5 kB / 292.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.04625, allocations: 254.1 kB / 293 MB, free: 13.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.04625, allocations: 0 / 293 MB, free: 13.06 MB / 282.7 MB Notification: Performance of Templates: time 0.02321/0.06946, allocations: 16.04 MB / 309 MB, free: 13 MB / 298.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: 2.9856549687683582]