Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00275/0.002757, allocations: 185.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.635/3.635, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006745/0.0006751, allocations: 8 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2073, allocations: 47.59 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.008273/0.2157, allocations: 2.719 MB / 377.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.2211, allocations: 1.303 MB / 378.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.2217, allocations: 7.938 kB / 378.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006897/0.2287, allocations: 2.109 MB / 380.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.2301, allocations: 171.5 kB / 380.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.232, allocations: 227.6 kB / 381.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005148/0.2372, allocations: 1.467 MB / 382.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005811/0.2379, allocations: 110.7 kB / 382.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.239, allocations: 287.1 kB / 382.9 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.24, allocations: 295.1 kB / 383.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.2403, allocations: 24 kB / 383.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.2407, allocations: 47.97 kB / 383.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.2424, allocations: 0.8259 MB / 384.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.2432, allocations: 384.3 kB / 384.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.2483, allocations: 2.09 MB / 386.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.2484, allocations: 0 / 386.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.439e-06/0.2484, allocations: 3.938 kB / 386.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.26e-05/0.2485, allocations: 3.938 kB / 386.6 MB, free: 3.316 MB / 282.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.009868/0.2584, allocations: 2.434 MB / 389 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/0.2585, allocations: 8.031 kB / 389 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.2599, allocations: 280.3 kB / 389.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.45/0.71, allocations: 1.679 MB / 391 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.7102, allocations: 55.05 kB / 391 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.7107, allocations: 52.3 kB / 391.1 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.7129, allocations: 392.2 kB / 391.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.713, allocations: 0.5625 kB / 391.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.7131, allocations: 18.78 kB / 391.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.7132, allocations: 9.781 kB / 391.5 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006138/0.7193, allocations: 332.2 kB / 391.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.7315, allocations: 2.914 MB / 394.7 MB, free: 17.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.7332, allocations: 315.7 kB / 395.1 MB, free: 17.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.7333, allocations: 7.203 kB / 395.1 MB, free: 17.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.7334, allocations: 41.75 kB / 395.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 4.92e-06/0.7334, allocations: 0 / 395.1 MB, free: 17.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.01302/0.7465, allocations: 2.381 MB / 397.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.7466, allocations: 87.31 kB / 397.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02055/0.7671, allocations: 5.439 MB / 403 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.7674, allocations: 32.05 kB / 403 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.7695, allocations: 0.9474 MB / 404 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.77, allocations: 171 kB / 404.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.7701, allocations: 10.47 kB / 404.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7702, allocations: 330.6 kB / 404.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/0.7711, allocations: 141.6 kB / 404.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008985/0.772, allocations: 222.4 kB / 404.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.773, allocations: 167.5 kB / 405 MB, free: 12.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.7731, allocations: 0.6094 kB / 405 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002192/0.7753, allocations: 454.9 kB / 405.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.7754, allocations: 6.375 kB / 405.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.7754, allocations: 1.281 kB / 405.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.7755, allocations: 4.719 kB / 405.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.7768, allocations: 122.9 kB / 405.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.7769, allocations: 4.875 kB / 405.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.7787, allocations: 18 kB / 405.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.7789, allocations: 20.78 kB / 405.6 MB, free: 12.2 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003306/0.7822, allocations: 0.919 MB / 406.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/0.7836, allocations: 273.4 kB / 406.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.7877, allocations: 0.7773 MB / 407.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.7878, allocations: 9.031 kB / 407.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.7879, allocations: 1.656 kB / 407.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.7879, allocations: 5.922 kB / 407.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005188/0.7931, allocations: 1.468 MB / 409.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.7932, allocations: 0.875 kB / 409.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.7944, allocations: 100.2 kB / 409.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/0.7951, allocations: 79.52 kB / 409.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.7952, allocations: 17.83 kB / 409.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009156/0.7962, allocations: 0.6393 MB / 409.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7962, allocations: 0.6875 kB / 409.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.8003, allocations: 1.086 MB / 411 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/0.8026, allocations: 494.5 kB / 411.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008103/0.8035, allocations: 11.94 kB / 411.5 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.8051, allocations: 19.73 kB / 411.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.8053, allocations: 33.41 kB / 411.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.8054, allocations: 19.84 kB / 411.6 MB, free: 8.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.01145/0.8168, allocations: 3.984 MB / 415.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.122e-06/0.8169, allocations: 0 / 415.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002301/0.8192, allocations: 210.9 kB / 415.7 MB, free: 4.727 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/0.821, allocations: 421 kB / 416.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.823, allocations: 380.9 kB / 416.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.823, allocations: 0 / 416.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.824, allocations: 219.3 kB / 416.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.8267, allocations: 179.4 kB / 416.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.8456, allocations: 6.108 MB / 423 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004843/0.8505, allocations: 1.865 MB / 424.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/0.8516, allocations: 95.42 kB / 425 MB, free: 11.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.733e-06/0.8516, allocations: 0 / 425 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Templates: time 0.1563/1.008, allocations: 34.66 MB / 459.6 MB, free: 8.715 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches