Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001031/0.001031, allocations: 113.3 kB / 17.69 MB, free: 5.312 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.001036/0.001036, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 48.53 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08909, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008636/0.09776, allocations: 7.766 MB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.1034, allocations: 2.648 MB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1051, allocations: 67.69 kB / 362 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.1072, allocations: 0.5663 MB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.1099, allocations: 0.7341 MB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1111, allocations: 407.4 kB / 363.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.1147, allocations: 3.288 MB / 367 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.1182, allocations: 3.585 MB / 370.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1766/0.2948, allocations: 1.655 MB / 372.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.2984, allocations: 2.028 MB / 374.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.3, allocations: 461.1 kB / 374.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.3021, allocations: 0.6732 MB / 375.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.3035, allocations: 1.245 MB / 376.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004451/0.3079, allocations: 1.962 MB / 378.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.3145, allocations: 6.105 MB / 384.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3145, allocations: 0 / 384.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3146, allocations: 0.9688 kB / 384.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.3147, allocations: 0 / 384.7 MB, free: 10.04 MB / 302.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.008132/0.3228, allocations: 3.795 MB / 388.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3229, allocations: 13.05 kB / 388.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.324, allocations: 392.9 kB / 388.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.3275, allocations: 2.162 MB / 391 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.3276, allocations: 221 kB / 391.3 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.328, allocations: 286.6 kB / 391.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006318/0.3343, allocations: 4.19 MB / 395.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.3344, allocations: 4 kB / 395.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3346, allocations: 120.4 kB / 395.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.3348, allocations: 140 kB / 396 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.3395, allocations: 3.49 MB / 399.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.3568, allocations: 10.76 MB / 410.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.3594, allocations: 2.64 MB / 412.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.3615, allocations: 1.483 MB / 414.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.3617, allocations: 118.1 kB / 414.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3618, allocations: 55.5 kB / 414.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.306e-06/0.3618, allocations: 10.62 kB / 414.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.008228/0.37, allocations: 5.161 MB / 419.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3701, allocations: 92.39 kB / 419.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.3725, allocations: 1.902 MB / 421.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.3726, allocations: 56.59 kB / 421.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/0.3733, allocations: 1.317 MB / 423.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.3736, allocations: 459.3 kB / 423.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.374, allocations: 278.5 kB / 423.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.3741, allocations: 301.1 kB / 424.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3752, allocations: 0.812 MB / 424.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3765, allocations: 1.183 MB / 426.1 MB, free: 7.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.3788, allocations: 2.087 MB / 428.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3788, allocations: 3.375 kB / 428.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003534/0.3824, allocations: 2.516 MB / 430.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3824, allocations: 12.19 kB / 430.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3824, allocations: 15.98 kB / 430.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.3841, allocations: 476.1 kB / 431.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3853, allocations: 333.4 kB / 431.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.3899, allocations: 4.397 MB / 435.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3911, allocations: 87.98 kB / 436 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3912, allocations: 63.98 kB / 436 MB, free: 13.18 MB / 350.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.001448/0.3927, allocations: 1.053 MB / 437.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.393, allocations: 189.8 kB / 437.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.3961, allocations: 2.15 MB / 439.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.3961, allocations: 16 kB / 439.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3961, allocations: 4 kB / 439.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3961, allocations: 10.97 kB / 439.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/0.4045, allocations: 5.169 MB / 444.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4046, allocations: 4 kB / 444.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009878/0.4055, allocations: 226.3 kB / 444.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.4073, allocations: 452.5 kB / 445.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.4074, allocations: 35.98 kB / 445.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.4125, allocations: 4.301 MB / 449.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4125, allocations: 7.219 kB / 449.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.4173, allocations: 3.256 MB / 452.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4186, allocations: 450.8 kB / 453.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.4189, allocations: 28 kB / 453.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/0.4199, allocations: 98.58 kB / 453.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.4201, allocations: 96.8 kB / 453.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.4202, allocations: 36 kB / 453.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.4221, allocations: 1.346 MB / 454.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4221, allocations: 0 / 454.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0018/0.4239, allocations: 0.5529 MB / 455.5 MB, free: 9.566 MB / 366.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.0005312/0.4244, allocations: 237.9 kB / 455.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.4278, allocations: 2.191 MB / 457.9 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4278, allocations: 4 kB / 457.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4296, allocations: 1.208 MB / 459.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.4317, allocations: 0.5115 MB / 459.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.4403, allocations: 5.701 MB / 465.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.4423, allocations: 2.42 MB / 467.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.4437, allocations: 491.4 kB / 468.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.4441, allocations: 131.4 kB / 468.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4441, allocations: 2.625 kB / 468.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Templates: time 0.04932/0.4935, allocations: 30.22 MB / 498.6 MB, free: 14.86 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches