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.001029/0.001028, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001139, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 59.89 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2666, allocations: 50.54 MB / 409.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008968/0.2757, allocations: 7.791 MB / 417 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004874/0.2806, allocations: 2.714 MB / 419.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.2818, allocations: 67.69 kB / 419.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.283, allocations: 0.574 MB / 420.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.2845, allocations: 0.7302 MB / 421.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.2853, allocations: 423.4 kB / 421.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.288, allocations: 3.28 MB / 424.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/0.2913, allocations: 3.585 MB / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2937, allocations: 1.677 MB / 430.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.2962, allocations: 2.032 MB / 432.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006668/0.2968, allocations: 460 kB / 432.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.298, allocations: 0.6558 MB / 433.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.299, allocations: 1.235 MB / 434.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.3007, allocations: 1.968 MB / 436.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.3058, allocations: 6.104 MB / 442.5 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3058, allocations: 0 / 442.5 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3058, allocations: 0 / 442.5 MB, free: 212 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.243e-05/0.3059, allocations: 0 / 442.5 MB, free: 212 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.006919/0.3129, allocations: 3.81 MB / 446.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3129, allocations: 12.02 kB / 446.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3142, allocations: 428.5 kB / 446.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.318, allocations: 2.17 MB / 448.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3182, allocations: 225.8 kB / 449.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/0.3187, allocations: 284 kB / 449.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006535/0.3252, allocations: 4.191 MB / 453.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.3253, allocations: 4 kB / 453.6 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.3256, allocations: 124 kB / 453.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.3257, allocations: 137.9 kB / 453.9 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.3309, allocations: 3.493 MB / 457.4 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.3467, allocations: 10.76 MB / 468.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.3494, allocations: 2.646 MB / 470.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.3518, allocations: 1.497 MB / 472.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.352, allocations: 130.1 kB / 472.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.905e-05/0.3521, allocations: 43.56 kB / 472.4 MB, free: 1.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.3521, allocations: 4 kB / 472.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009873/0.362, allocations: 5.168 MB / 477.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.3621, allocations: 94.42 kB / 477.7 MB, free: 12.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/0.3655, allocations: 1.91 MB / 479.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.3656, allocations: 53.7 kB / 479.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.3666, allocations: 1.318 MB / 481 MB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.367, allocations: 465.4 kB / 481.4 MB, free: 8.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.3675, allocations: 267.3 kB / 481.7 MB, free: 8.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.3676, allocations: 313 kB / 482 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.3691, allocations: 0.8159 MB / 482.8 MB, free: 7.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.3706, allocations: 1.182 MB / 484 MB, free: 5.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.3735, allocations: 2.078 MB / 486.1 MB, free: 3.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.3736, allocations: 7.938 kB / 486.1 MB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004516/0.3781, allocations: 2.526 MB / 488.6 MB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3781, allocations: 8.188 kB / 488.6 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.3782, allocations: 16 kB / 488.6 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.3802, allocations: 482.9 kB / 489.1 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3815, allocations: 331.5 kB / 489.4 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/0.3872, allocations: 4.38 MB / 493.8 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.389, allocations: 95.88 kB / 493.9 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.3892, allocations: 63.98 kB / 494 MB, free: 11.56 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.002054/0.3913, allocations: 1.063 MB / 495 MB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.3918, allocations: 185.8 kB / 495.2 MB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.3956, allocations: 2.145 MB / 497.4 MB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/0.3956, allocations: 16 kB / 497.4 MB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3957, allocations: 4 kB / 497.4 MB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.3957, allocations: 7.969 kB / 497.4 MB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/0.405, allocations: 5.166 MB / 0.4908 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.405, allocations: 4 kB / 0.4908 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.406, allocations: 227.6 kB / 0.491 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.408, allocations: 460.5 kB / 0.4914 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4081, allocations: 35.98 kB / 0.4915 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005457/0.4136, allocations: 4.304 MB / 0.4957 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.4136, allocations: 8.016 kB / 0.4957 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/0.4188, allocations: 3.252 MB / 0.4989 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.4199, allocations: 458.7 kB / 0.4993 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.4203, allocations: 28 kB / 0.4993 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.4215, allocations: 95.95 kB / 0.4994 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.4218, allocations: 96.8 kB / 0.4995 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4219, allocations: 43.94 kB / 0.4996 GB, free: 9.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002275/0.4241, allocations: 1.35 MB / 0.5009 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4242, allocations: 0 / 0.5009 GB, free: 8.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0019/0.4261, allocations: 0.5508 MB / 0.5014 GB, free: 7.77 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.0005862/0.4267, allocations: 229.4 kB / 0.5016 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.4304, allocations: 2.192 MB / 0.5038 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4304, allocations: 3.938 kB / 0.5038 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.4324, allocations: 1.215 MB / 0.505 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.4348, allocations: 0.5079 MB / 0.5055 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.4451, allocations: 5.705 MB / 0.511 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/0.4481, allocations: 2.428 MB / 0.5134 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001557/0.4497, allocations: 495.4 kB / 0.5139 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.4502, allocations: 139.4 kB / 0.514 GB, free: 10.76 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4502, allocations: 0 / 0.514 GB, free: 10.76 MB / 446.1 MB Notification: Performance of Templates: time 0.2454/0.6956, allocations: 30.69 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