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.001109/0.001109, allocations: 114.2 kB / 17.07 MB, free: 5.961 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.00112/0.001121, allocations: 198.8 kB / 18 MB, free: 5.051 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 / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2713, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008507/0.2799, allocations: 7.773 MB / 408.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.2848, allocations: 2.648 MB / 411.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.2863, allocations: 71.69 kB / 411.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2878, allocations: 0.5701 MB / 411.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.2895, allocations: 0.7653 MB / 412.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.2903, allocations: 407.4 kB / 413 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.2929, allocations: 3.292 MB / 416.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.2962, allocations: 3.581 MB / 419.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.2985, allocations: 1.67 MB / 421.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.3008, allocations: 2.032 MB / 423.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005456/0.3013, allocations: 460 kB / 424 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.3023, allocations: 0.6675 MB / 424.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3035, allocations: 1.247 MB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.3053, allocations: 1.964 MB / 427.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.3107, allocations: 6.096 MB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3108, allocations: 0 / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3108, allocations: 0 / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3109, allocations: 0 / 434 MB, free: 7.48 MB / 350.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.007203/0.3181, allocations: 3.802 MB / 437.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3181, allocations: 8.031 kB / 437.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009183/0.3191, allocations: 388.7 kB / 438.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.3227, allocations: 2.154 MB / 440.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.3229, allocations: 225.8 kB / 440.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004099/0.3233, allocations: 292 kB / 440.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.3298, allocations: 4.187 MB / 445 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.3298, allocations: 3.938 kB / 445 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.3301, allocations: 120 kB / 445.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.3302, allocations: 141.9 kB / 445.3 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/0.3353, allocations: 3.49 MB / 448.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.3501, allocations: 10.76 MB / 459.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.3526, allocations: 2.646 MB / 462.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.3547, allocations: 1.501 MB / 463.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.355, allocations: 122.1 kB / 463.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.355, allocations: 51.56 kB / 463.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.825e-06/0.355, allocations: 0 / 463.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008209/0.3632, allocations: 5.176 MB / 469 MB, free: 3.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3633, allocations: 90.42 kB / 469.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.3657, allocations: 1.906 MB / 471 MB, free: 1.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.3658, allocations: 49.64 kB / 471 MB, free: 1.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007976/0.3666, allocations: 1.318 MB / 472.4 MB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.3669, allocations: 465.5 kB / 472.8 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.3673, allocations: 267.3 kB / 473.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.3674, allocations: 309.1 kB / 473.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3686, allocations: 0.8237 MB / 474.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.37, allocations: 1.182 MB / 475.4 MB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.3727, allocations: 2.082 MB / 477.5 MB, free: 10.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.3727, allocations: 4 kB / 477.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004065/0.3768, allocations: 2.523 MB / 480 MB, free: 8.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3768, allocations: 11.98 kB / 480 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3769, allocations: 12 kB / 480 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.3786, allocations: 479.8 kB / 480.5 MB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.3799, allocations: 335.5 kB / 480.8 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.385, allocations: 4.388 MB / 485.2 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3863, allocations: 83.83 kB / 485.3 MB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.3864, allocations: 63.98 kB / 485.3 MB, free: 2.906 MB / 398.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.001603/0.3881, allocations: 1.048 MB / 486.4 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/0.3886, allocations: 185.8 kB / 486.6 MB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.392, allocations: 2.149 MB / 488.7 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/0.392, allocations: 16 kB / 488.7 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.392, allocations: 4 kB / 488.7 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.392, allocations: 11.97 kB / 488.7 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007996/0.4, allocations: 5.17 MB / 493.9 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4001, allocations: 4.031 kB / 493.9 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.401, allocations: 227.6 kB / 494.1 MB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.4027, allocations: 464.7 kB / 494.6 MB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.4028, allocations: 31.98 kB / 494.6 MB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.4076, allocations: 4.292 MB / 498.9 MB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4076, allocations: 64 / 498.9 MB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.4122, allocations: 3.263 MB / 0.4904 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/0.413, allocations: 450.8 kB / 0.4908 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.4133, allocations: 28 kB / 0.4909 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/0.4143, allocations: 99.95 kB / 0.491 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.4145, allocations: 92.8 kB / 0.4911 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.4146, allocations: 40 kB / 0.4911 GB, free: 1.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001883/0.4165, allocations: 1.338 MB / 0.4924 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4165, allocations: 0 / 0.4924 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00158/0.4181, allocations: 0.5508 MB / 0.4929 GB, free: 15.15 MB / 430.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.000488/0.4186, allocations: 244.1 kB / 0.4932 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.4219, allocations: 2.191 MB / 0.4953 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4219, allocations: 0 / 0.4953 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.4237, allocations: 1.212 MB / 0.4965 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.4257, allocations: 0.5122 MB / 0.497 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009174/0.4349, allocations: 5.703 MB / 0.5026 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/0.4372, allocations: 2.42 MB / 0.5049 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001359/0.4386, allocations: 499.4 kB / 0.5054 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.439, allocations: 131.4 kB / 0.5055 GB, free: 2.141 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.439, allocations: 0 / 0.5055 GB, free: 2.141 MB / 430.1 MB Notification: Performance of Templates: time 0.05156/0.4906, allocations: 30.74 MB / 0.5355 GB, free: 3.711 MB / 462.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