Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001319, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007999/0.2242, allocations: 7.786 MB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.2286, allocations: 2.722 MB / 420.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.2293, allocations: 67.69 kB / 420.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2304, allocations: 0.574 MB / 421.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.2318, allocations: 0.7302 MB / 421.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.2326, allocations: 419.4 kB / 422.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.2353, allocations: 3.284 MB / 425.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.2387, allocations: 3.581 MB / 429.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.2411, allocations: 1.676 MB / 430.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.2436, allocations: 2.036 MB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005784/0.2442, allocations: 460 kB / 433.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.2453, allocations: 0.652 MB / 433.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009707/0.2462, allocations: 1.239 MB / 435.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.2481, allocations: 1.968 MB / 437.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.2531, allocations: 6.104 MB / 443.2 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2531, allocations: 0 / 443.2 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2532, allocations: 4 kB / 443.2 MB, free: 164 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.549e-05/0.2532, allocations: 0 / 443.2 MB, free: 164 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006884/0.2601, allocations: 3.806 MB / 447 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2602, allocations: 8.031 kB / 447 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.2615, allocations: 432.5 kB / 447.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.2647, allocations: 2.174 MB / 449.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.2649, allocations: 225.8 kB / 449.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.2653, allocations: 284 kB / 450.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/0.2717, allocations: 4.195 MB / 454.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.2718, allocations: 0 / 454.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.2721, allocations: 120 kB / 454.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.2722, allocations: 141.8 kB / 454.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/0.2776, allocations: 3.486 MB / 458.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.2952, allocations: 10.77 MB / 468.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.2981, allocations: 2.638 MB / 471.5 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.3005, allocations: 1.501 MB / 473 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.3008, allocations: 126.1 kB / 473.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3008, allocations: 51.56 kB / 473.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.3008, allocations: 0 / 473.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008993/0.3098, allocations: 5.164 MB / 478.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3099, allocations: 98.42 kB / 478.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.3127, allocations: 1.914 MB / 480.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3128, allocations: 49.7 kB / 480.4 MB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008313/0.3136, allocations: 1.322 MB / 481.7 MB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.314, allocations: 461.4 kB / 482.1 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004973/0.3145, allocations: 271.3 kB / 482.4 MB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3147, allocations: 305.1 kB / 482.7 MB, free: 7.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3158, allocations: 0.8159 MB / 483.5 MB, free: 7.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.3172, allocations: 1.186 MB / 484.7 MB, free: 5.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.32, allocations: 2.082 MB / 486.8 MB, free: 3.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.32, allocations: 4 kB / 486.8 MB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003912/0.3239, allocations: 2.53 MB / 489.3 MB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.324, allocations: 8 kB / 489.3 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.324, allocations: 12 kB / 489.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.3257, allocations: 479 kB / 489.8 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.327, allocations: 331.5 kB / 490.1 MB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005106/0.3321, allocations: 4.388 MB / 494.5 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3335, allocations: 83.83 kB / 494.6 MB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.3336, allocations: 63.98 kB / 494.7 MB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001713/0.3353, allocations: 1.067 MB / 495.7 MB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/0.3358, allocations: 185.8 kB / 495.9 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/0.3393, allocations: 2.149 MB / 498.1 MB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/0.3394, allocations: 16 kB / 498.1 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3394, allocations: 4 kB / 498.1 MB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3394, allocations: 7.969 kB / 498.1 MB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.3471, allocations: 5.166 MB / 0.4915 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3471, allocations: 4 kB / 0.4915 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.3481, allocations: 231.8 kB / 0.4917 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.3498, allocations: 460.3 kB / 0.4921 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.3499, allocations: 35.98 kB / 0.4922 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/0.3548, allocations: 4.302 MB / 0.4964 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3548, allocations: 4 kB / 0.4964 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/0.3595, allocations: 3.248 MB / 0.4995 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.3602, allocations: 458.7 kB / 0.5 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.3604, allocations: 28 kB / 0.5 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.3614, allocations: 99.94 kB / 0.5001 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.3616, allocations: 100.7 kB / 0.5002 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.3617, allocations: 40 kB / 0.5002 GB, free: 9.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.3635, allocations: 1.346 MB / 0.5015 GB, free: 8.281 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.572e-06/0.3635, allocations: 0 / 0.5015 GB, free: 8.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001505/0.365, allocations: 0.5585 MB / 0.5021 GB, free: 7.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004954/0.3655, allocations: 218.5 kB / 0.5023 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.3688, allocations: 2.192 MB / 0.5044 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3688, allocations: 4.188 kB / 0.5044 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.3706, allocations: 1.214 MB / 0.5056 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.3727, allocations: 0.5107 MB / 0.5061 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.3809, allocations: 5.69 MB / 0.5117 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/0.3829, allocations: 2.359 MB / 0.514 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.3834, allocations: 147.4 kB / 0.5141 GB, free: 11.28 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3834, allocations: 0 / 0.5141 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Templates: time 0.2229/0.6064, allocations: 51.25 MB / 0.5642 GB, free: 111 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches