Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0009283/0.0009283, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009183/0.0009183, allocations: 165.1 kB / 24.91 MB, free: 9.184 MB / 18.57 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.8791/0.8791, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.215e-05, allocations: 5.266 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003086/0.003098, allocations: 3.402 MB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.004776, allocations: 1.67 MB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.004906, allocations: 4 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.006835, allocations: 2.674 MB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.007159, allocations: 242.2 kB / 281.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.00753, allocations: 319.2 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.008483, allocations: 1.622 MB / 283.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.008622, allocations: 104.9 kB / 283.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.009333, allocations: 0.4986 MB / 283.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.009576, allocations: 299.2 kB / 284.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.00963, allocations: 44 kB / 284.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.009742, allocations: 91.91 kB / 284.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004016/0.01014, allocations: 0.8687 MB / 285.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.01041, allocations: 474.1 kB / 285.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009006/0.01131, allocations: 1.498 MB / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01132, allocations: 0 / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01132, allocations: 0 / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.01133, allocations: 0 / 287.2 MB, free: 3.383 MB / 266.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.001875/0.01321, allocations: 2.654 MB / 289.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.01323, allocations: 8.031 kB / 289.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.01344, allocations: 192.7 kB / 290 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0888/0.1022, allocations: 1.133 MB / 291.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.1023, allocations: 110.6 kB / 291.3 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.1024, allocations: 49.83 kB / 291.3 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1028, allocations: 362.3 kB / 291.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1028, allocations: 0.6562 kB / 291.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1029, allocations: 14.47 kB / 291.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1029, allocations: 9.844 kB / 291.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1031, allocations: 142 kB / 291.8 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1049, allocations: 1.419 MB / 293.2 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1052, allocations: 207.7 kB / 293.4 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.1053, allocations: 77.84 kB / 293.5 MB, free: 21.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1053, allocations: 9.922 kB / 293.5 MB, free: 21.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1053, allocations: 40.27 kB / 293.6 MB, free: 21.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/0.1053, allocations: 0 / 293.6 MB, free: 21.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00209/0.1074, allocations: 1.17 MB / 294.7 MB, free: 21.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.1074, allocations: 84.03 kB / 294.8 MB, free: 21.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.1101, allocations: 2.964 MB / 297.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1101, allocations: 37.2 kB / 297.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.1104, allocations: 0.5362 MB / 298.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.1105, allocations: 176.5 kB / 298.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.1106, allocations: 92.06 kB / 298.6 MB, free: 21.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.1106, allocations: 331.7 kB / 298.9 MB, free: 20.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1107, allocations: 48.09 kB / 299 MB, free: 20.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.1108, allocations: 129.8 kB / 299.1 MB, free: 20.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.111, allocations: 224 kB / 299.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.111, allocations: 0 / 299.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004045/0.1114, allocations: 372.5 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1114, allocations: 7.641 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1114, allocations: 1.344 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1114, allocations: 5.094 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.1117, allocations: 115.8 kB / 299.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1117, allocations: 6.672 kB / 299.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1119, allocations: 15.95 kB / 299.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1119, allocations: 12.41 kB / 299.9 MB, free: 20.54 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.0001939/0.1121, allocations: 149.4 kB / 300 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.1122, allocations: 159.3 kB / 300.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.1128, allocations: 492.3 kB / 300.6 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1128, allocations: 6.188 kB / 300.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1128, allocations: 3.75 kB / 300.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1128, allocations: 3.734 kB / 300.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.1135, allocations: 0.718 MB / 301.4 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1135, allocations: 0 / 301.4 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.1137, allocations: 96.62 kB / 301.5 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.1138, allocations: 66.75 kB / 301.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1138, allocations: 12.28 kB / 301.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003782/0.1142, allocations: 0.8347 MB / 302.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1142, allocations: 0 / 302.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.1148, allocations: 0.6644 MB / 303 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.115, allocations: 326 kB / 303.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1151, allocations: 12 kB / 303.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1154, allocations: 18.3 kB / 303.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1154, allocations: 29.09 kB / 303.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1154, allocations: 15.34 kB / 303.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009825/0.1164, allocations: 1.447 MB / 304.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1164, allocations: 0 / 304.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.1167, allocations: 208.4 kB / 305.1 MB, free: 18.48 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.0009741/0.1177, allocations: 0.5141 MB / 305.6 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1179, allocations: 210.3 kB / 305.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.1179, allocations: 28.34 kB / 305.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1181, allocations: 138.8 kB / 306 MB, free: 18.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.1186, allocations: 194.8 kB / 306.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.1215, allocations: 3.873 MB / 310 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1218, allocations: 0.5525 MB / 310.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.122, allocations: 171.8 kB / 310.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.1223, allocations: 231.3 kB / 311 MB, free: 13.89 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1223, allocations: 4 kB / 311 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01931/0.1416, allocations: 16.12 MB / 327.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.673471165355295]