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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 113.6 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2105, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004119/0.2147, allocations: 3.47 MB / 410.5 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.2171, allocations: 1.626 MB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.2175, allocations: 11.94 kB / 412.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.2195, allocations: 1.852 MB / 414 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.2201, allocations: 183 kB / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.2208, allocations: 283.3 kB / 414.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2223, allocations: 1.718 MB / 416.2 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.2225, allocations: 124.6 kB / 416.3 MB, free: 18.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.2229, allocations: 293 kB / 416.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.2233, allocations: 306.8 kB / 416.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.2234, allocations: 28 kB / 416.9 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2236, allocations: 75.97 kB / 417 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.224, allocations: 0.8258 MB / 417.8 MB, free: 17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.2245, allocations: 0.9033 MB / 418.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2259, allocations: 2.559 MB / 421.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2259, allocations: 0 / 421.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.226, allocations: 0 / 421.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.6e-05/0.2261, allocations: 0 / 421.3 MB, free: 13.53 MB / 298.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.005938/0.232, allocations: 2.814 MB / 424.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.838e-05/0.2321, allocations: 8.031 kB / 424.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.2328, allocations: 293.2 kB / 424.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.2357, allocations: 1.832 MB / 426.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.2359, allocations: 59.27 kB / 426.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.2361, allocations: 47.92 kB / 426.3 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.2367, allocations: 391 kB / 426.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2368, allocations: 7.875 kB / 426.7 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.2368, allocations: 12 kB / 426.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2368, allocations: 12 kB / 426.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.2374, allocations: 335.7 kB / 427.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.241, allocations: 2.919 MB / 430 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.2415, allocations: 315.9 kB / 430.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2418, allocations: 157.7 kB / 430.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.2418, allocations: 11.98 kB / 430.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2419, allocations: 46.44 kB / 430.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.2419, allocations: 0 / 430.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003975/0.2459, allocations: 2.399 MB / 432.9 MB, free: 1.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2459, allocations: 81.55 kB / 433 MB, free: 1.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005447/0.2514, allocations: 5.451 MB / 438.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2514, allocations: 33.7 kB / 438.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009753/0.2524, allocations: 1.183 MB / 439.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2526, allocations: 169.5 kB / 439.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2527, allocations: 90.16 kB / 439.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2528, allocations: 326 kB / 440.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.2532, allocations: 141 kB / 440.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.2535, allocations: 221.6 kB / 440.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2542, allocations: 380.3 kB / 441 MB, free: 9.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2542, allocations: 7.938 kB / 441 MB, free: 9.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001057/0.2552, allocations: 0.6764 MB / 441.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2553, allocations: 12 kB / 441.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2553, allocations: 0 / 441.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2553, allocations: 4 kB / 441.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2558, allocations: 123.8 kB / 441.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2558, allocations: 4 kB / 441.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.2562, allocations: 15.98 kB / 441.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2563, allocations: 23.98 kB / 441.8 MB, free: 8.539 MB / 314.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.0008879/0.2572, allocations: 0.9323 MB / 442.7 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.2575, allocations: 268.4 kB / 443 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.2588, allocations: 0.7943 MB / 443.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2588, allocations: 4 kB / 443.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2589, allocations: 4 kB / 443.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2589, allocations: 4 kB / 443.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.2603, allocations: 1.485 MB / 445.3 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2604, allocations: 3.938 kB / 445.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.2608, allocations: 95.88 kB / 445.4 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.2611, allocations: 88.77 kB / 445.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.2612, allocations: 19.98 kB / 445.5 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004893/0.2617, allocations: 0.6343 MB / 446.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2617, allocations: 0 / 446.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.2752, allocations: 9.618 MB / 455.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009235/0.2761, allocations: 493.4 kB / 456.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.2763, allocations: 7.938 kB / 456.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.2769, allocations: 23.98 kB / 456.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.277, allocations: 28.39 kB / 456.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.277, allocations: 12 kB / 456.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004818/0.2818, allocations: 3.986 MB / 460.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2819, allocations: 0 / 460.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001143/0.283, allocations: 368 kB / 460.7 MB, free: 5.27 MB / 330.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.001036/0.2841, allocations: 469.9 kB / 461.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.2849, allocations: 372.9 kB / 461.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2849, allocations: 0 / 461.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.2854, allocations: 210.9 kB / 461.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.2866, allocations: 192.3 kB / 461.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/0.2951, allocations: 6.496 MB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.2972, allocations: 1.83 MB / 470.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007688/0.2979, allocations: 295.7 kB / 470.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.2984, allocations: 99.42 kB / 470.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2985, allocations: 0 / 470.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of Templates: time 0.03407/0.3325, allocations: 16.81 MB / 487.4 MB, free: 10.64 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches