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.001643/0.001643, allocations: 106.7 kB / 16.62 MB, free: 6.812 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.00184/0.001841, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00096/0.0009601, allocations: 51.8 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08203, allocations: 49.44 MB / 349.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008419/0.09048, allocations: 7.72 MB / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.09464, allocations: 2.601 MB / 359.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007001/0.09537, allocations: 67.69 kB / 360 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.09656, allocations: 489.4 kB / 360.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.09807, allocations: 0.6724 MB / 361.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.09881, allocations: 371.6 kB / 361.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.1015, allocations: 3.261 MB / 364.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.105, allocations: 3.592 MB / 368.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1393/0.2443, allocations: 1.658 MB / 370 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.2476, allocations: 2.069 MB / 372.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009046/0.2485, allocations: 461.9 kB / 372.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.2499, allocations: 0.6735 MB / 373.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.2512, allocations: 1.247 MB / 374.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.2542, allocations: 1.965 MB / 376.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.26, allocations: 6.052 MB / 382.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2601, allocations: 0.7188 kB / 382.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2601, allocations: 1.5 kB / 382.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.2603, allocations: 0.5625 kB / 382.5 MB, free: 9.883 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.008477/0.2687, allocations: 3.792 MB / 386.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2688, allocations: 8.25 kB / 386.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2699, allocations: 393.4 kB / 386.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.2728, allocations: 2.089 MB / 388.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.273, allocations: 219.3 kB / 388.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.2734, allocations: 287.8 kB / 389.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/0.2796, allocations: 4.191 MB / 393.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.2797, allocations: 2.359 kB / 393.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.2799, allocations: 116.8 kB / 393.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.2801, allocations: 145.5 kB / 393.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/0.2848, allocations: 3.488 MB / 397.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.3011, allocations: 10.91 MB / 408.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.3039, allocations: 2.632 MB / 410.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.3062, allocations: 1.477 MB / 412.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.3065, allocations: 136.8 kB / 412.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3065, allocations: 47.5 kB / 412.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.386e-06/0.3065, allocations: 0 / 412.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009222/0.3158, allocations: 5.168 MB / 417.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.3159, allocations: 90.42 kB / 417.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.3186, allocations: 1.909 MB / 419.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.3187, allocations: 48.91 kB / 419.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008342/0.3196, allocations: 1.326 MB / 420.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.3199, allocations: 450.9 kB / 421.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.3203, allocations: 271.3 kB / 421.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.3204, allocations: 305.1 kB / 421.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3216, allocations: 0.8185 MB / 422.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.3231, allocations: 1.18 MB / 423.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.3258, allocations: 2.085 MB / 426 MB, free: 5.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3258, allocations: 4 kB / 426 MB, free: 5.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004154/0.33, allocations: 2.527 MB / 428.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.33, allocations: 8 kB / 428.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.3301, allocations: 19.64 kB / 428.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.332, allocations: 485.5 kB / 429 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.3334, allocations: 330.4 kB / 429.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.3387, allocations: 4.396 MB / 433.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3401, allocations: 91.89 kB / 433.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.3403, allocations: 63.98 kB / 433.9 MB, free: 13.95 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.001735/0.342, allocations: 1.048 MB / 434.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/0.3424, allocations: 193.7 kB / 435.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.346, allocations: 2.141 MB / 437.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/0.3461, allocations: 19.98 kB / 437.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3461, allocations: 4 kB / 437.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.3461, allocations: 3.984 kB / 437.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008449/0.3546, allocations: 5.193 MB / 442.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3546, allocations: 4 kB / 442.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.3556, allocations: 226.9 kB / 442.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.3575, allocations: 460.8 kB / 443.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.3576, allocations: 35.98 kB / 443.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/0.3628, allocations: 4.3 MB / 447.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3628, allocations: 2.625 kB / 447.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.3679, allocations: 3.247 MB / 450.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/0.3688, allocations: 454.7 kB / 451.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.3691, allocations: 35.98 kB / 451.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.3702, allocations: 95.95 kB / 451.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.3704, allocations: 98.58 kB / 451.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.3705, allocations: 39.98 kB / 451.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001986/0.3725, allocations: 1.334 MB / 452.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3725, allocations: 4 kB / 452.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001812/0.3743, allocations: 0.5585 MB / 453.4 MB, free: 10.31 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.0005645/0.3749, allocations: 237.9 kB / 453.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005195/0.3801, allocations: 2.866 MB / 456.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.3801, allocations: 4 kB / 456.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.382, allocations: 1.202 MB / 457.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.3845, allocations: 0.5093 MB / 458.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009642/0.3941, allocations: 7.025 MB / 465.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/0.3962, allocations: 2.427 MB / 467.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001463/0.3977, allocations: 491.4 kB / 468.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.3982, allocations: 133.9 kB / 468.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3982, allocations: 0 / 468.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Templates: time 0.04868/0.4469, allocations: 30.1 MB / 498.3 MB, free: 13.73 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