Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 206 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.4 MB / 250 MB, free: 9.059 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 75.81 kB / 367.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2412, allocations: 53.31 MB / 420.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009714/0.2509, allocations: 7.806 MB / 428.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005876/0.2567, allocations: 2.73 MB / 431.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.2582, allocations: 67.69 kB / 431.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2597, allocations: 0.5975 MB / 431.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.262, allocations: 0.7536 MB / 432.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.2629, allocations: 419.4 kB / 433 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.2669, allocations: 3.288 MB / 436.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.2702, allocations: 2.652 MB / 439 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.2733, allocations: 1.668 MB / 440.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.2764, allocations: 2.079 MB / 442.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.2771, allocations: 460 kB / 443.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2784, allocations: 0.6753 MB / 443.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.2796, allocations: 1.247 MB / 445.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.2823, allocations: 1.972 MB / 447.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.2895, allocations: 6.12 MB / 453.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.2895, allocations: 4 kB / 453.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2895, allocations: 3.938 kB / 453.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001478/0.2897, allocations: 0 / 453.2 MB, free: 7.703 MB / 366.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.008449/0.2981, allocations: 3.892 MB / 457.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2981, allocations: 8.031 kB / 457.1 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.2996, allocations: 454.5 kB / 457.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.3038, allocations: 2.187 MB / 459.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.304, allocations: 229.7 kB / 459.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.3045, allocations: 288 kB / 460.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008196/0.3127, allocations: 4.187 MB / 464.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.3128, allocations: 3.938 kB / 464.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.3131, allocations: 120 kB / 464.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.3132, allocations: 141.9 kB / 464.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006896/0.3201, allocations: 3.486 MB / 468.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.3404, allocations: 10.79 MB / 478.9 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.3435, allocations: 2.564 MB / 481.5 MB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.3461, allocations: 1.411 MB / 482.9 MB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.3464, allocations: 122.1 kB / 483 MB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.3464, allocations: 51.56 kB / 483.1 MB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.3465, allocations: 0 / 483.1 MB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009992/0.3564, allocations: 5.2 MB / 488.3 MB, free: 3.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.3566, allocations: 98.42 kB / 488.4 MB, free: 3.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.3594, allocations: 1.918 MB / 490.3 MB, free: 1.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/0.3595, allocations: 53.64 kB / 490.4 MB, free: 1.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.3607, allocations: 1.353 MB / 491.7 MB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005517/0.3613, allocations: 488 kB / 492.2 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.3618, allocations: 267.5 kB / 492.4 MB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.362, allocations: 305.1 kB / 492.7 MB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3633, allocations: 0.8159 MB / 493.6 MB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.365, allocations: 1.178 MB / 494.7 MB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.3679, allocations: 2.082 MB / 496.8 MB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3679, allocations: 8 kB / 496.8 MB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004421/0.3723, allocations: 2.524 MB / 499.4 MB, free: 8.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3724, allocations: 19 kB / 499.4 MB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.3724, allocations: 8 kB / 499.4 MB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.3743, allocations: 478.9 kB / 499.8 MB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.3756, allocations: 335.5 kB / 0.4885 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.3815, allocations: 4.385 MB / 0.4927 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3827, allocations: 79.98 kB / 0.4928 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3828, allocations: 63.98 kB / 0.4929 GB, free: 3.016 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.001659/0.3845, allocations: 1.055 MB / 0.4939 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.3849, allocations: 202.7 kB / 0.4941 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.3885, allocations: 2.141 MB / 0.4962 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.3885, allocations: 20 kB / 0.4962 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3886, allocations: 8 kB / 0.4962 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3886, allocations: 7.969 kB / 0.4962 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.397, allocations: 5.166 MB / 0.5013 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.397, allocations: 0 / 0.5013 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3981, allocations: 227.7 kB / 0.5015 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.3999, allocations: 460.5 kB / 0.5019 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.4, allocations: 35.98 kB / 0.502 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.4057, allocations: 4.31 MB / 0.5062 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4057, allocations: 4 kB / 0.5062 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.411, allocations: 3.26 MB / 0.5094 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/0.4119, allocations: 463.7 kB / 0.5098 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.4122, allocations: 32 kB / 0.5098 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.4131, allocations: 95.95 kB / 0.5099 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.4134, allocations: 96.8 kB / 0.51 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.4135, allocations: 36 kB / 0.51 GB, free: 1.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002097/0.4156, allocations: 1.346 MB / 0.5114 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4156, allocations: 0 / 0.5114 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00171/0.4173, allocations: 0.5546 MB / 0.5119 GB, free: 15.21 MB / 446.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.0005499/0.4178, allocations: 227.3 kB / 0.5121 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.4216, allocations: 2.118 MB / 0.5142 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4216, allocations: 4.625 kB / 0.5142 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.4236, allocations: 1.159 MB / 0.5153 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.4256, allocations: 0.5098 MB / 0.5158 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.4351, allocations: 5.798 MB / 0.5215 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.4375, allocations: 2.424 MB / 0.5238 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.4389, allocations: 499.3 kB / 0.5243 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.4393, allocations: 131.4 kB / 0.5244 GB, free: 2.238 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4393, allocations: 0 / 0.5244 GB, free: 2.238 MB / 446.1 MB Notification: Performance of Templates: time 0.2305/0.6698, allocations: 31.07 MB / 0.5548 GB, free: 109.2 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches