Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001707, allocations: 109.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002455/0.002454, allocations: 196.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2675/0.3797, allocations: 7.709 MB / 382.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.3867, allocations: 2.738 MB / 385.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.3891, allocations: 57.12 kB / 385.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3908, allocations: 0.5665 MB / 386.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.3942, allocations: 0.7391 MB / 387 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3956, allocations: 434.3 kB / 387.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005259/0.4009, allocations: 3.405 MB / 390.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004982/0.4059, allocations: 3.434 MB / 394.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.4108, allocations: 1.656 MB / 395.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/0.4157, allocations: 2.019 MB / 397.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.4176, allocations: 461.4 kB / 398.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.421, allocations: 0.6754 MB / 399 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.4233, allocations: 1.245 MB / 400.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005449/0.4287, allocations: 1.961 MB / 402.2 MB, free: 232 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.4397, allocations: 6.102 MB / 408.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4398, allocations: 0 / 408.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4398, allocations: 0 / 408.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003561/0.4402, allocations: 0 / 408.3 MB, free: 12.24 MB / 334.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.01583/0.456, allocations: 3.781 MB / 412.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4561, allocations: 9.625 kB / 412.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.4579, allocations: 394.8 kB / 412.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/0.4625, allocations: 1.956 MB / 414.5 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4627, allocations: 229.8 kB / 414.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.4634, allocations: 284 kB / 415 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.4735, allocations: 4.191 MB / 419.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.4736, allocations: 0 / 419.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.474, allocations: 120 kB / 419.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.4742, allocations: 141.9 kB / 419.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007811/0.482, allocations: 3.486 MB / 422.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02435/0.5064, allocations: 10.77 MB / 433.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.5096, allocations: 2.65 MB / 436.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/0.5122, allocations: 1.504 MB / 437.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.5126, allocations: 122.1 kB / 437.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.5126, allocations: 47.56 kB / 438 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 7.233e-06/0.5127, allocations: 4 kB / 438 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.0115/0.5242, allocations: 5.282 MB / 443.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.5243, allocations: 94.42 kB / 443.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.5281, allocations: 1.909 MB / 445.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003063/0.5284, allocations: 53.7 kB / 445.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.5298, allocations: 1.318 MB / 446.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/0.5304, allocations: 457.3 kB / 447.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.531, allocations: 271.4 kB / 447.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5312, allocations: 309 kB / 447.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.5327, allocations: 0.8159 MB / 448.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.5346, allocations: 1.187 MB / 449.7 MB, free: 4.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.5382, allocations: 2.087 MB / 451.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5382, allocations: 4 kB / 451.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005278/0.5435, allocations: 2.523 MB / 454.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.5436, allocations: 11.91 kB / 454.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.5436, allocations: 12 kB / 454.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.5456, allocations: 486.6 kB / 454.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.547, allocations: 335.5 kB / 455.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.5531, allocations: 4.411 MB / 459.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.5557, allocations: 83.83 kB / 459.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.556, allocations: 59.98 kB / 459.7 MB, free: 9.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.002882/0.5589, allocations: 1.052 MB / 460.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008931/0.5598, allocations: 193.7 kB / 460.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.5639, allocations: 2.133 MB / 463 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/0.5639, allocations: 19.94 kB / 463 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.5639, allocations: 8 kB / 463.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.564, allocations: 7.969 kB / 463.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5746, allocations: 5.174 MB / 468.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5747, allocations: 4 kB / 468.2 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5758, allocations: 231.7 kB / 468.5 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.5776, allocations: 464.7 kB / 468.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.5777, allocations: 31.98 kB / 469 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/0.5835, allocations: 4.291 MB / 473.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5835, allocations: 4.031 kB / 473.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006022/0.5896, allocations: 3.255 MB / 476.5 MB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.5911, allocations: 458.7 kB / 477 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.5914, allocations: 31.98 kB / 477 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.5926, allocations: 99.95 kB / 477.1 MB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.5929, allocations: 104.6 kB / 477.2 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.803e-05/0.593, allocations: 39.94 kB / 477.2 MB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.5954, allocations: 1.346 MB / 478.6 MB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5954, allocations: 0 / 478.6 MB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002575/0.598, allocations: 0.5547 MB / 479.1 MB, free: 6.168 MB / 398.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.0006898/0.5987, allocations: 212.1 kB / 479.3 MB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003893/0.6026, allocations: 2.2 MB / 481.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.6026, allocations: 4.75 kB / 481.5 MB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.6048, allocations: 1.214 MB / 482.7 MB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.6081, allocations: 0.5052 MB / 483.3 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.6197, allocations: 5.726 MB / 489 MB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.6222, allocations: 2.427 MB / 491.4 MB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001662/0.6238, allocations: 499.3 kB / 491.9 MB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.6243, allocations: 135.3 kB / 492 MB, free: 9.133 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6243, allocations: 0 / 492 MB, free: 9.133 MB / 414.1 MB Notification: Performance of Templates: time 0.05639/0.6807, allocations: 30.72 MB / 0.5105 GB, free: 10.34 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches