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.001105/0.001105, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002876, allocations: 457.8 kB / 10.45 MB, free: 244 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.001115/0.001115, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002641, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.022/1.022, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08609/1.108, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.112e-06/1.112e-06, allocations: 0 / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.427e-05, allocations: 5.406 kB / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003661/0.003676, allocations: 4.358 MB / 249.6 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.00587, allocations: 1.663 MB / 251.2 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.006113, allocations: 15.94 kB / 251.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.006337, allocations: 130.7 kB / 251.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.006909, allocations: 369.3 kB / 251.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.007273, allocations: 251.5 kB / 252 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000707/0.00798, allocations: 1.009 MB / 253 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.008194, allocations: 160 kB / 253.1 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.008831, allocations: 0.6539 MB / 253.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.00917, allocations: 347 kB / 254.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.009265, allocations: 96 kB / 254.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.009561, allocations: 215.9 kB / 254.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.009654, allocations: 147.5 kB / 254.6 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.009821, allocations: 235.6 kB / 254.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.01037, allocations: 0.6384 MB / 255.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.01039, allocations: 0 / 255.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01039, allocations: 0 / 255.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.0104, allocations: 0 / 255.4 MB, free: 3.309 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.00129/0.01169, allocations: 1.165 MB / 256.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.01172, allocations: 12.62 kB / 256.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.01195, allocations: 182 kB / 256.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.01233, allocations: 322.4 kB / 257.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.01241, allocations: 127 kB / 257.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.01252, allocations: 76.67 kB / 257.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.01297, allocations: 0.5433 MB / 257.9 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01299, allocations: 3.938 kB / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.01302, allocations: 20 kB / 257.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01303, allocations: 16 kB / 257.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.01327, allocations: 194.2 kB / 258.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01477, allocations: 1.482 MB / 259.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.01505, allocations: 254.1 kB / 259.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01518, allocations: 118 kB / 259.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.0152, allocations: 8 kB / 259.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.01522, allocations: 38.56 kB / 260 MB, free: 14.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.01522, allocations: 0 / 260 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005174/0.0204, allocations: 2.527 MB / 262.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.02043, allocations: 85.61 kB / 262.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.0207, allocations: 412.8 kB / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.02073, allocations: 37.7 kB / 263 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.02084, allocations: 281.7 kB / 263.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.02094, allocations: 222.1 kB / 263.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02106, allocations: 110.2 kB / 263.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.02117, allocations: 370.6 kB / 264 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.02126, allocations: 73.25 kB / 264.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.02143, allocations: 176.5 kB / 264.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.02171, allocations: 314.2 kB / 264.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02171, allocations: 0 / 264.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003701/0.02208, allocations: 342.1 kB / 264.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.02209, allocations: 11.98 kB / 264.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.0221, allocations: 0 / 264.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.02223, allocations: 40.77 kB / 264.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.02274, allocations: 216.4 kB / 265.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005391/0.02328, allocations: 1.186 MB / 266.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.02349, allocations: 40.02 kB / 266.4 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.02352, allocations: 19.98 kB / 266.4 MB, free: 7.852 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.0001215/0.02364, allocations: 141.7 kB / 266.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.02371, allocations: 55.88 kB / 266.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005986/0.02431, allocations: 431.8 kB / 267 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.02432, allocations: 4 kB / 267 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.02432, allocations: 8 kB / 267 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02432, allocations: 7.984 kB / 267 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.0255, allocations: 0.8877 MB / 267.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.0255, allocations: 7.984 kB / 267.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.02578, allocations: 130.8 kB / 268 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.02591, allocations: 67.59 kB / 268.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008191/0.02673, allocations: 347.3 kB / 268.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.02675, allocations: 12 kB / 268.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.0285, allocations: 1.981 MB / 270.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0285, allocations: 4.031 kB / 270.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.02958, allocations: 0.7102 MB / 271.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.02963, allocations: 16 kB / 271.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.02985, allocations: 35.98 kB / 271.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.02994, allocations: 52.55 kB / 271.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.02996, allocations: 12 kB / 271.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.03017, allocations: 191.5 kB / 271.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.03017, allocations: 0 / 271.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.03062, allocations: 184.1 kB / 271.6 MB, free: 2.453 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.0002214/0.03084, allocations: 144.1 kB / 271.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.0313, allocations: 426.6 kB / 272.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.03131, allocations: 8 kB / 272.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.03166, allocations: 393.5 kB / 272.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.03217, allocations: 0.7081 MB / 273.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.0365, allocations: 1.284 MB / 274.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.0366, allocations: 152.4 kB / 274.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.03678, allocations: 64.7 kB / 274.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.03702, allocations: 159.2 kB / 274.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03703, allocations: 4 kB / 274.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Templates: time 0.01433/0.05135, allocations: 10.77 MB / 285.7 MB, free: 4.266 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.790941667743027]