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.001067/0.001067, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001128/0.001128, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.276/1.276, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 52.33 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08289, allocations: 49.44 MB / 350.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00854/0.09146, allocations: 7.767 MB / 357.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.09616, allocations: 2.648 MB / 360.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.09734, allocations: 71.62 kB / 360.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.09876, allocations: 0.5666 MB / 361.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1007, allocations: 0.7341 MB / 361.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.1014, allocations: 419.4 kB / 362.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.1041, allocations: 3.261 MB / 365.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.1074, allocations: 3.588 MB / 369.1 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1477/0.2552, allocations: 1.644 MB / 370.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003483/0.2587, allocations: 2.026 MB / 372.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009928/0.2597, allocations: 461 kB / 373.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.2612, allocations: 0.6705 MB / 373.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.2625, allocations: 1.243 MB / 375.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.2648, allocations: 1.968 MB / 377.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.2708, allocations: 6.046 MB / 383.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2708, allocations: 0 / 383.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2708, allocations: 1.094 kB / 383.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.271, allocations: 0 / 383.2 MB, free: 9.801 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.008503/0.2795, allocations: 3.799 MB / 387 MB, free: 7.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2796, allocations: 9.656 kB / 387 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.2808, allocations: 385.2 kB / 387.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.2839, allocations: 2.09 MB / 389.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.2841, allocations: 219.8 kB / 389.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.2846, allocations: 291.7 kB / 389.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006343/0.2909, allocations: 4.193 MB / 394.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/0.291, allocations: 1.375 kB / 394.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.2913, allocations: 120.4 kB / 394.2 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.2915, allocations: 141.5 kB / 394.4 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.2963, allocations: 3.491 MB / 397.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3133, allocations: 10.91 MB / 408.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.3162, allocations: 2.643 MB / 411.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.3185, allocations: 1.479 MB / 412.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.3188, allocations: 121.2 kB / 413 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.3188, allocations: 55.5 kB / 413.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.477e-06/0.3188, allocations: 4 kB / 413.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009257/0.3281, allocations: 5.168 MB / 418.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.3282, allocations: 93.05 kB / 418.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.3309, allocations: 1.906 MB / 420.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.331, allocations: 57.14 kB / 420.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000866/0.3319, allocations: 1.317 MB / 421.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.3323, allocations: 459.3 kB / 422.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.3327, allocations: 274.3 kB / 422.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.3328, allocations: 301.1 kB / 422.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.334, allocations: 0.8159 MB / 423.4 MB, free: 8.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3355, allocations: 1.184 MB / 424.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.3382, allocations: 2.081 MB / 426.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.3382, allocations: 4 kB / 426.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004294/0.3425, allocations: 2.519 MB / 429.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3426, allocations: 8 kB / 429.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.3426, allocations: 12 kB / 429.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.3445, allocations: 484.3 kB / 429.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.3459, allocations: 326.2 kB / 430 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.351, allocations: 4.412 MB / 434.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.3527, allocations: 87.92 kB / 434.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.3529, allocations: 64.05 kB / 434.6 MB, free: 13.44 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.001731/0.3546, allocations: 1.043 MB / 435.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.3551, allocations: 197.7 kB / 435.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.3585, allocations: 2.144 MB / 438 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-05/0.3586, allocations: 17.41 kB / 438 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3586, allocations: 11.94 kB / 438 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.3586, allocations: 7.969 kB / 438 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008153/0.3668, allocations: 5.187 MB / 443.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3668, allocations: 0 / 443.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/0.3678, allocations: 230.5 kB / 443.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.3695, allocations: 452.3 kB / 443.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.3696, allocations: 35.98 kB / 443.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.3744, allocations: 4.302 MB / 448.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3744, allocations: 0 / 448.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.3794, allocations: 3.257 MB / 451.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009833/0.3804, allocations: 454.8 kB / 451.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.3807, allocations: 28 kB / 451.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.3817, allocations: 107.1 kB / 452 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3819, allocations: 95.53 kB / 452.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/0.382, allocations: 43.92 kB / 452.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00196/0.384, allocations: 1.334 MB / 453.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.384, allocations: 0 / 453.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0019/0.3859, allocations: 0.5585 MB / 454.1 MB, free: 9.805 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.0005389/0.3865, allocations: 220.3 kB / 454.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004931/0.3914, allocations: 2.876 MB / 457.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3914, allocations: 4 kB / 457.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.3933, allocations: 1.208 MB / 458.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.3958, allocations: 0.506 MB / 458.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.4055, allocations: 5.772 MB / 464.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.4078, allocations: 2.427 MB / 467.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.4094, allocations: 499.4 kB / 467.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.4099, allocations: 127.4 kB / 467.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4099, allocations: 0 / 467.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Templates: time 0.05259/0.4625, allocations: 30.22 MB / 497.9 MB, free: 14.36 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 -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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches