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.00113/0.00113, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001833/0.002963, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001051/0.001051, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002636, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9684/0.9684, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08684/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.299e-05, allocations: 9.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004351/0.004364, allocations: 3.473 MB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.006191, allocations: 1.686 MB / 249.9 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.006335, allocations: 11.94 kB / 249.9 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.008348, allocations: 2.74 MB / 252.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.008692, allocations: 238.2 kB / 252.9 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.009163, allocations: 315.2 kB / 253.2 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01029, allocations: 1.63 MB / 254.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.01044, allocations: 101 kB / 254.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.01125, allocations: 0.5888 MB / 255.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.01152, allocations: 299.2 kB / 255.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.01158, allocations: 44 kB / 255.8 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.01174, allocations: 87.92 kB / 255.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.01215, allocations: 0.8123 MB / 256.7 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.0124, allocations: 374.3 kB / 257.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.01334, allocations: 1.46 MB / 258.5 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.01335, allocations: 4 kB / 258.5 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.01335, allocations: 4 kB / 258.5 MB, free: 372 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.01339, allocations: 0 / 258.5 MB, free: 372 kB / 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.002353/0.01574, allocations: 3.005 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.01577, allocations: 8.031 kB / 261.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.01606, allocations: 265.8 kB / 261.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.01698, allocations: 1.137 MB / 263 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/0.01706, allocations: 114.6 kB / 263.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.01716, allocations: 48.69 kB / 263.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.01757, allocations: 363 kB / 263.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01758, allocations: 4 kB / 263.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.01761, allocations: 16 kB / 263.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01761, allocations: 11.94 kB / 263.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.01779, allocations: 142.8 kB / 263.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.01925, allocations: 1.42 MB / 265.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.01959, allocations: 197.1 kB / 265.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.01967, allocations: 78.25 kB / 265.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01969, allocations: 15.86 kB / 265.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.01971, allocations: 38.56 kB / 265.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.01972, allocations: 4 kB / 265.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001791/0.02151, allocations: 1.194 MB / 266.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.02154, allocations: 85.61 kB / 266.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.02386, allocations: 2.96 MB / 269.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.02388, allocations: 33.7 kB / 269.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.02416, allocations: 0.5297 MB / 270.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.02424, allocations: 178.4 kB / 270.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.02433, allocations: 90.09 kB / 270.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.0244, allocations: 329.9 kB / 270.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.02447, allocations: 44.97 kB / 270.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.02456, allocations: 137.2 kB / 270.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.02476, allocations: 228.2 kB / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02476, allocations: 0 / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003246/0.02508, allocations: 374.2 kB / 271.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.0251, allocations: 4 kB / 271.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.0251, allocations: 4 kB / 271.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.02511, allocations: 7.938 kB / 271.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.02545, allocations: 150.3 kB / 271.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.02545, allocations: 8.188 kB / 271.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.02563, allocations: 16 kB / 271.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.02565, allocations: 19.98 kB / 271.7 MB, free: 2.781 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.0001896/0.02584, allocations: 132.6 kB / 271.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.02597, allocations: 159.8 kB / 272 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.02645, allocations: 492 kB / 272.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02645, allocations: 4 kB / 272.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02645, allocations: 0 / 272.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02646, allocations: 4 kB / 272.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.02709, allocations: 0.7277 MB / 273.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02709, allocations: 0 / 273.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.02737, allocations: 127.8 kB / 273.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.02765, allocations: 334 kB / 273.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.02782, allocations: 76.72 kB / 273.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.02783, allocations: 11.98 kB / 273.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1094/0.1372, allocations: 0.8293 MB / 274.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1372, allocations: 1.906 kB / 274.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1382, allocations: 0.6521 MB / 275.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.1384, allocations: 10.39 kB / 275.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.1388, allocations: 20.16 kB / 275.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.1388, allocations: 32.67 kB / 275.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1388, allocations: 9.922 kB / 275.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.1407, allocations: 1.45 MB / 276.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 276.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000589/0.1413, allocations: 205.1 kB / 277 MB, free: 16.34 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.001432/0.1427, allocations: 0.5627 MB / 277.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.143, allocations: 214 kB / 277.8 MB, free: 16.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.043e-05/0.1431, allocations: 38.69 kB / 277.8 MB, free: 16.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.1433, allocations: 166.1 kB / 278 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.1445, allocations: 1.049 MB / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00726/0.1517, allocations: 3.895 MB / 282.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.1523, allocations: 0.5616 MB / 283.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.1527, allocations: 172.5 kB / 283.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.1532, allocations: 240.2 kB / 283.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1532, allocations: 0 / 283.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Templates: time 0.02465/0.1778, allocations: 16.78 MB / 300.6 MB, free: 4.473 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8281542602926493]