Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008271/0.0008271, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002287, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007277/0.0007277, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001683, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9524/0.9524, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07799/1.03, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.906e-05, allocations: 5.688 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003677/0.003696, allocations: 4.357 MB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.006133, allocations: 1.663 MB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.006389, allocations: 15.94 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.00662, allocations: 134.7 kB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.007341, allocations: 365.3 kB / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.007794, allocations: 247.5 kB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007451/0.008539, allocations: 1.009 MB / 252.8 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.00875, allocations: 156 kB / 252.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.00932, allocations: 0.6655 MB / 253.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.009617, allocations: 339.1 kB / 253.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.009695, allocations: 96 kB / 254 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.009997, allocations: 219.9 kB / 254.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.01008, allocations: 143.6 kB / 254.4 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.01025, allocations: 239.6 kB / 254.6 MB, free: 4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.01081, allocations: 0.6384 MB / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.01083, allocations: 0 / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01083, allocations: 0 / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.01084, allocations: 0 / 255.3 MB, free: 3.359 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.001251/0.0121, allocations: 1.158 MB / 256.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.01213, allocations: 12.62 kB / 256.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.01233, allocations: 182 kB / 256.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.01271, allocations: 326.3 kB / 256.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.01302, allocations: 135 kB / 257.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.01314, allocations: 72.69 kB / 257.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.01359, allocations: 0.5355 MB / 257.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.0136, allocations: 3.938 kB / 257.7 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.01363, allocations: 20 kB / 257.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.01364, allocations: 16 kB / 257.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.01389, allocations: 198.2 kB / 257.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.0154, allocations: 1.49 MB / 259.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.01568, allocations: 242.1 kB / 259.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.01581, allocations: 118 kB / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.01584, allocations: 8 kB / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01586, allocations: 38.56 kB / 259.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.01586, allocations: 0 / 259.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.00496/0.02082, allocations: 2.508 MB / 262.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.02086, allocations: 85.61 kB / 262.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.02112, allocations: 416.8 kB / 262.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.02115, allocations: 37.7 kB / 262.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.02125, allocations: 273.7 kB / 263.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.02136, allocations: 222.1 kB / 263.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.02147, allocations: 114.2 kB / 263.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.02156, allocations: 370.6 kB / 263.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.02165, allocations: 69.27 kB / 263.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.02203, allocations: 172.5 kB / 264 MB, free: 10.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.02229, allocations: 305.6 kB / 264.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02229, allocations: 0 / 264.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003571/0.02265, allocations: 338.2 kB / 264.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.02266, allocations: 12.06 kB / 264.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02267, allocations: 0 / 264.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.0228, allocations: 52.69 kB / 264.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.02325, allocations: 212.3 kB / 264.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005392/0.02379, allocations: 1.178 MB / 266.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.02398, allocations: 36.12 kB / 266.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.024, allocations: 20.02 kB / 266.1 MB, free: 7.961 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.0001171/0.02412, allocations: 149.7 kB / 266.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.02419, allocations: 59.88 kB / 266.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.02467, allocations: 423.8 kB / 266.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.02467, allocations: 8 kB / 266.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02467, allocations: 0 / 266.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.02468, allocations: 11.98 kB / 266.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.02585, allocations: 0.8916 MB / 267.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02585, allocations: 0 / 267.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.02614, allocations: 139.8 kB / 267.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.02626, allocations: 59.61 kB / 267.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007404/0.027, allocations: 328.4 kB / 268.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.02702, allocations: 12 kB / 268.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.02868, allocations: 1.988 MB / 270.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02868, allocations: 3.938 kB / 270.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.02945, allocations: 0.7025 MB / 270.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.0295, allocations: 12 kB / 270.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.02971, allocations: 35.97 kB / 270.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.02978, allocations: 52.56 kB / 271 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.0298, allocations: 15.98 kB / 271 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003881/0.03019, allocations: 195.5 kB / 271.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03019, allocations: 0 / 271.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003833/0.03057, allocations: 184.1 kB / 271.4 MB, free: 2.566 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.0001933/0.03077, allocations: 140.1 kB / 271.5 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.03118, allocations: 405.3 kB / 271.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.03119, allocations: 12 kB / 271.9 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.03149, allocations: 372.8 kB / 272.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.03184, allocations: 137.9 kB / 272.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.03628, allocations: 1.284 MB / 273.7 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.03638, allocations: 152.3 kB / 273.9 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.03656, allocations: 64.67 kB / 273.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.03679, allocations: 155.3 kB / 274.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0368, allocations: 0 / 274.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Templates: time 0.01241/0.04921, allocations: 10.76 MB / 284.8 MB, free: 5.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.671547591686249]