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.001701/0.0017, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001976, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009055/0.2533, allocations: 7.782 MB / 417 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.2583, allocations: 2.714 MB / 419.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.2591, allocations: 71.69 kB / 419.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2603, allocations: 0.5818 MB / 420.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.2619, allocations: 0.7575 MB / 421.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.2626, allocations: 415.4 kB / 421.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.2656, allocations: 3.288 MB / 424.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.2693, allocations: 3.592 MB / 428.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.2718, allocations: 1.672 MB / 430.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.2742, allocations: 2.036 MB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006936/0.2749, allocations: 460 kB / 432.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2759, allocations: 0.652 MB / 433.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.277, allocations: 1.239 MB / 434.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.2789, allocations: 1.968 MB / 436.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.284, allocations: 6.1 MB / 442.6 MB, free: 116 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.284, allocations: 4 kB / 442.6 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.284, allocations: 3.938 kB / 442.6 MB, free: 108 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-05/0.2841, allocations: 0 / 442.6 MB, free: 108 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.007741/0.2919, allocations: 3.806 MB / 446.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2919, allocations: 8.031 kB / 446.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.2934, allocations: 436.5 kB / 446.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.2969, allocations: 2.17 MB / 449 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.2971, allocations: 221.8 kB / 449.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.2975, allocations: 284 kB / 449.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/0.304, allocations: 4.191 MB / 453.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.3041, allocations: 0 / 453.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3044, allocations: 124 kB / 453.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.3045, allocations: 141.9 kB / 453.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005622/0.3102, allocations: 3.493 MB / 457.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.328, allocations: 10.76 MB / 468.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.331, allocations: 2.638 MB / 470.8 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.3333, allocations: 1.501 MB / 472.3 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.3336, allocations: 122.1 kB / 472.4 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3337, allocations: 43.56 kB / 472.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.117e-06/0.3337, allocations: 0 / 472.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008942/0.3426, allocations: 5.179 MB / 477.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3427, allocations: 90.42 kB / 477.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.3456, allocations: 1.922 MB / 479.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.3457, allocations: 45.7 kB / 479.7 MB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009866/0.3467, allocations: 1.322 MB / 481 MB, free: 8.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.3471, allocations: 457.4 kB / 481.5 MB, free: 8.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.3475, allocations: 271.4 kB / 481.7 MB, free: 8.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3477, allocations: 309 kB / 482 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.3489, allocations: 0.8159 MB / 482.9 MB, free: 7.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3505, allocations: 1.182 MB / 484 MB, free: 5.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.3532, allocations: 2.078 MB / 486.1 MB, free: 3.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3532, allocations: 7.938 kB / 486.1 MB, free: 3.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004188/0.3574, allocations: 2.523 MB / 488.7 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.3575, allocations: 10.97 kB / 488.7 MB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.3575, allocations: 12.19 kB / 488.7 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.3594, allocations: 486.9 kB / 489.2 MB, free: 480 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3607, allocations: 327.5 kB / 489.5 MB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005349/0.3661, allocations: 4.399 MB / 493.9 MB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3673, allocations: 87.89 kB / 494 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.3675, allocations: 63.98 kB / 494 MB, free: 11.46 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.001679/0.3692, allocations: 1.063 MB / 495.1 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/0.3696, allocations: 193.7 kB / 495.3 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.3732, allocations: 2.133 MB / 497.4 MB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/0.3733, allocations: 23.98 kB / 497.4 MB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3733, allocations: 4 kB / 497.4 MB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3733, allocations: 3.984 kB / 497.4 MB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/0.3816, allocations: 5.17 MB / 0.4908 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3816, allocations: 0 / 0.4908 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.3826, allocations: 235.6 kB / 0.4911 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3844, allocations: 456.5 kB / 0.4915 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.3845, allocations: 27.98 kB / 0.4915 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/0.3896, allocations: 4.31 MB / 0.4957 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3897, allocations: 0 / 0.4957 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.3945, allocations: 3.255 MB / 0.4989 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.3953, allocations: 454.7 kB / 0.4993 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.3956, allocations: 35.98 kB / 0.4994 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.3965, allocations: 95.91 kB / 0.4995 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.3967, allocations: 100.7 kB / 0.4996 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.3968, allocations: 43.92 kB / 0.4996 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.3987, allocations: 1.338 MB / 0.5009 GB, free: 8.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3987, allocations: 4 kB / 0.5009 GB, free: 8.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001632/0.4004, allocations: 0.5624 MB / 0.5015 GB, free: 7.664 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.0005072/0.4009, allocations: 220.8 kB / 0.5017 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.4042, allocations: 2.188 MB / 0.5038 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.4042, allocations: 7.938 kB / 0.5038 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.4061, allocations: 1.211 MB / 0.505 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.408, allocations: 0.5006 MB / 0.5055 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008417/0.4164, allocations: 5.71 MB / 0.5111 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.4184, allocations: 2.431 MB / 0.5134 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.4196, allocations: 0.4954 MB / 0.5139 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.4199, allocations: 131.4 kB / 0.514 GB, free: 10.66 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4199, allocations: 0 / 0.514 GB, free: 10.66 MB / 446.1 MB Notification: Performance of Templates: time 0.2319/0.6519, allocations: 30.68 MB / 0.544 GB, free: 125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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