Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001436/0.001436, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001743/0.001743, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9534/0.9534, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.844e-05, allocations: 2.312 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004212/0.004241, allocations: 4.258 MB / 255.4 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.006314, allocations: 1.602 MB / 257 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.006575, allocations: 11.94 kB / 257 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.00688, allocations: 126.7 kB / 257.1 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006653/0.007546, allocations: 373.5 kB / 257.5 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.007892, allocations: 239.4 kB / 257.7 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.008633, allocations: 1.005 MB / 258.7 MB, free: 148 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.008881, allocations: 154.1 kB / 258.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.009386, allocations: 0.5574 MB / 259.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.009756, allocations: 335.1 kB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.195e-05/0.009848, allocations: 96 kB / 259.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.01013, allocations: 207.9 kB / 260 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01025, allocations: 203.3 kB / 260.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01045, allocations: 287.3 kB / 260.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006744/0.01113, allocations: 0.7124 MB / 261.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01113, allocations: 7.938 kB / 261.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01113, allocations: 0 / 261.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01114, allocations: 0 / 261.2 MB, free: 13.6 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001482/0.01262, allocations: 1.142 MB / 262.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.01266, allocations: 11.98 kB / 262.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.01282, allocations: 124.5 kB / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.01334, allocations: 435.6 kB / 262.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.01344, allocations: 119 kB / 263.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.01358, allocations: 72.73 kB / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.01423, allocations: 0.574 MB / 263.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.01424, allocations: 3.938 kB / 263.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.01428, allocations: 20 kB / 263.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.0143, allocations: 16 kB / 263.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.01475, allocations: 283.6 kB / 264 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.01689, allocations: 2.054 MB / 266.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.01735, allocations: 306.2 kB / 266.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.01758, allocations: 151.8 kB / 266.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.01761, allocations: 8 kB / 266.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.01764, allocations: 49.33 kB / 266.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 3.296e-06/0.01764, allocations: 0 / 266.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005555/0.0232, allocations: 2.467 MB / 269 MB, free: 5.484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.02324, allocations: 85.61 kB / 269.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.02364, allocations: 0.4908 MB / 269.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.02367, allocations: 37.7 kB / 269.7 MB, free: 4.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.02385, allocations: 371.5 kB / 270 MB, free: 4.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.02397, allocations: 214.2 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.0241, allocations: 112 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.02425, allocations: 0.539 MB / 270.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.02445, allocations: 105.2 kB / 271 MB, free: 3.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.0247, allocations: 235.6 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.02516, allocations: 376.9 kB / 271.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02516, allocations: 0 / 271.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006752/0.02584, allocations: 0.4964 MB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.02586, allocations: 11.98 kB / 272.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02587, allocations: 4 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.02607, allocations: 55.84 kB / 272.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.02648, allocations: 163.8 kB / 272.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009182/0.0274, allocations: 1.764 MB / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.02765, allocations: 36.02 kB / 274.1 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.02769, allocations: 24 kB / 274.1 MB, free: 104 kB / 250.7 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.0001965/0.02789, allocations: 200.3 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.02799, allocations: 75.62 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007865/0.02878, allocations: 0.5455 MB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02878, allocations: 8 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.02879, allocations: 4 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02879, allocations: 3.984 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.03055, allocations: 1.28 MB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03055, allocations: 0 / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.03082, allocations: 103.9 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009309/0.03175, allocations: 350.9 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.03179, allocations: 16 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.03419, allocations: 2.817 MB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.03419, allocations: 4 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.03541, allocations: 0.9746 MB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.03558, allocations: 127.5 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.03564, allocations: 12 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.0359, allocations: 43.97 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.036, allocations: 48.56 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.03602, allocations: 20 kB / 280.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.03629, allocations: 339 kB / 281.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03629, allocations: 0 / 281.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.03681, allocations: 184.1 kB / 281.2 MB, free: 8.766 MB / 266.7 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.0002484/0.03706, allocations: 154.9 kB / 281.4 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.03775, allocations: 0.5345 MB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03775, allocations: 0 / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.03819, allocations: 462.2 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.03862, allocations: 94.44 kB / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.04064, allocations: 1.264 MB / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.04074, allocations: 140.3 kB / 283.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.04093, allocations: 72.64 kB / 283.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.04106, allocations: 56.47 kB / 284 MB, free: 5.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04106, allocations: 3.938 kB / 284 MB, free: 5.898 MB / 266.7 MB Notification: Performance of Templates: time 0.01243/0.05349, allocations: 9.705 MB / 293.7 MB, free: 12.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.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.100802994100377]