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.0007898/0.0007898, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001903, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007303/0.0007303, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.001931, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07786/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.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 1.733e-06/1.733e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.101e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005734/0.005755, allocations: 4.368 MB / 248.9 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.009403, allocations: 1.659 MB / 250.5 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.009887, allocations: 11.94 kB / 250.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.01026, allocations: 134.7 kB / 250.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009414/0.0112, allocations: 369.4 kB / 251 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.01173, allocations: 243.5 kB / 251.3 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01287, allocations: 1.002 MB / 252.3 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.01319, allocations: 168 kB / 252.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.01447, allocations: 0.6616 MB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.01503, allocations: 339.1 kB / 253.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.01521, allocations: 96 kB / 253.5 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.01568, allocations: 219.9 kB / 253.8 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.01583, allocations: 143.6 kB / 253.9 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.01614, allocations: 239.6 kB / 254.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.01713, allocations: 0.6306 MB / 254.8 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.09e-05/0.01715, allocations: 3.938 kB / 254.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01715, allocations: 0 / 254.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.01718, allocations: 0 / 254.8 MB, free: 4.035 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.002071/0.01925, allocations: 1.161 MB / 255.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01928, allocations: 12.03 kB / 255.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.01959, allocations: 182 kB / 256.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.02019, allocations: 326.4 kB / 256.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.02031, allocations: 127 kB / 256.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.02047, allocations: 72.69 kB / 256.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.02116, allocations: 0.5277 MB / 257.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.02118, allocations: 15.89 kB / 257.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.02122, allocations: 20 kB / 257.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.02124, allocations: 12 kB / 257.2 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.02163, allocations: 206.2 kB / 257.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.02398, allocations: 1.486 MB / 258.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.02441, allocations: 257.2 kB / 259.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.02461, allocations: 106.1 kB / 259.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.02464, allocations: 8 kB / 259.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.02467, allocations: 38.56 kB / 259.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.916e-06/0.02467, allocations: 0 / 259.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.008562/0.03324, allocations: 2.51 MB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.03328, allocations: 85.61 kB / 261.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.03373, allocations: 420.8 kB / 262.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.03377, allocations: 33.7 kB / 262.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.03392, allocations: 273.7 kB / 262.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.03409, allocations: 222.1 kB / 262.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.03427, allocations: 118.2 kB / 262.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.03439, allocations: 370.6 kB / 263.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.03456, allocations: 65.27 kB / 263.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.03477, allocations: 172.5 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.0352, allocations: 297.6 kB / 263.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0352, allocations: 0 / 263.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006138/0.03581, allocations: 353.8 kB / 264.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.03583, allocations: 4.312 kB / 264.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.03584, allocations: 8 kB / 264.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.03606, allocations: 36.83 kB / 264.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.03684, allocations: 215.6 kB / 264.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/0.03767, allocations: 1.191 MB / 265.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.03803, allocations: 27.98 kB / 265.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.03808, allocations: 23.98 kB / 265.7 MB, free: 8.625 MB / 266.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.0001754/0.03826, allocations: 141.8 kB / 265.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.03837, allocations: 59.89 kB / 265.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.03916, allocations: 435.7 kB / 266.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.03917, allocations: 8.141 kB / 266.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.03917, allocations: 0 / 266.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.03918, allocations: 3.984 kB / 266.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.04146, allocations: 0.8955 MB / 267.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.04147, allocations: 4 kB / 267.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.04196, allocations: 140.4 kB / 267.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.04217, allocations: 59.59 kB / 267.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.04346, allocations: 328.3 kB / 267.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.0435, allocations: 15.98 kB / 267.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.04624, allocations: 1.977 MB / 269.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.04624, allocations: 7.984 kB / 269.7 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.04758, allocations: 0.7064 MB / 270.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.04768, allocations: 12 kB / 270.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.04808, allocations: 35.98 kB / 270.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.04819, allocations: 48.55 kB / 270.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.04823, allocations: 20 kB / 270.5 MB, free: 3.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.04849, allocations: 187.5 kB / 270.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04849, allocations: 3.938 kB / 270.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.04921, allocations: 184.1 kB / 270.9 MB, free: 3.238 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.0002708/0.04948, allocations: 144.2 kB / 271 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.05018, allocations: 413.3 kB / 271.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.467e-05/0.0502, allocations: 8 kB / 271.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.05072, allocations: 372.8 kB / 271.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.05128, allocations: 137.9 kB / 271.9 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.05868, allocations: 1.273 MB / 273.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.05883, allocations: 148.3 kB / 273.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.05919, allocations: 72.7 kB / 273.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.05953, allocations: 155.3 kB / 273.6 MB, free: 456 kB / 266.7 MB Notification: Performance of SimCode: time 1.714e-06/0.05953, allocations: 0 / 273.6 MB, free: 456 kB / 266.7 MB Notification: Performance of Templates: time 0.02001/0.07954, allocations: 10.75 MB / 284.3 MB, free: 5.836 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] 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","",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.7233670111745596]