Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 114.6 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.39 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09723, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009527/0.1068, allocations: 7.737 MB / 364.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.1118, allocations: 2.675 MB / 367.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.1128, allocations: 63.69 kB / 367.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1141, allocations: 497.4 kB / 367.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.1158, allocations: 0.6686 MB / 368.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.1166, allocations: 371.6 kB / 369 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1732/0.2899, allocations: 3.269 MB / 372.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006294/0.2962, allocations: 3.581 MB / 375.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.3006, allocations: 1.676 MB / 377.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.3049, allocations: 2.069 MB / 379.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009385/0.3059, allocations: 465.7 kB / 380 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3072, allocations: 0.649 MB / 380.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3084, allocations: 1.246 MB / 381.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.3106, allocations: 1.97 MB / 383.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.3162, allocations: 6.051 MB / 389.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3162, allocations: 0 / 389.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3162, allocations: 0 / 389.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.3164, allocations: 1.031 kB / 389.9 MB, free: 4.254 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.006927/0.3233, allocations: 3.809 MB / 393.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3233, allocations: 8.5 kB / 393.8 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.3247, allocations: 425.9 kB / 394.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.3275, allocations: 2.107 MB / 396.3 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3276, allocations: 221.5 kB / 396.5 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/0.3281, allocations: 290.1 kB / 396.8 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006586/0.3347, allocations: 4.198 MB / 401 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.3348, allocations: 0 / 401 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.3351, allocations: 119.1 kB / 401.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.3352, allocations: 145.9 kB / 401.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/0.3407, allocations: 3.488 MB / 404.7 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.3583, allocations: 10.91 MB / 415.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.3611, allocations: 2.652 MB / 418.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.3635, allocations: 1.475 MB / 419.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.3637, allocations: 121.4 kB / 419.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.3638, allocations: 55.5 kB / 419.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.097e-06/0.3638, allocations: 4 kB / 419.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009268/0.3731, allocations: 5.165 MB / 425.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.3732, allocations: 90.42 kB / 425.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.3769, allocations: 1.918 MB / 427.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.3772, allocations: 49.7 kB / 427.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/0.3781, allocations: 1.332 MB / 428.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.3785, allocations: 451.5 kB / 428.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.3789, allocations: 271.4 kB / 429.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.379, allocations: 305.1 kB / 429.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.3803, allocations: 0.812 MB / 430.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3818, allocations: 1.181 MB / 431.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.3845, allocations: 2.082 MB / 433.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3846, allocations: 3.938 kB / 433.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00421/0.3888, allocations: 2.529 MB / 436.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3888, allocations: 15.94 kB / 436.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3889, allocations: 8 kB / 436.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/0.3908, allocations: 483.1 kB / 436.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.3921, allocations: 336.7 kB / 436.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.3976, allocations: 4.395 MB / 441.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.3991, allocations: 83.78 kB / 441.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.3992, allocations: 71.95 kB / 441.5 MB, free: 4.523 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.002034/0.4013, allocations: 1.056 MB / 442.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.4017, allocations: 185.8 kB / 442.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.4055, allocations: 2.146 MB / 444.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.4056, allocations: 19.98 kB / 444.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4056, allocations: 4 kB / 444.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4056, allocations: 7.984 kB / 444.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/0.4144, allocations: 5.184 MB / 450.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4144, allocations: 3.984 kB / 450.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.4155, allocations: 234.4 kB / 450.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.4175, allocations: 460.2 kB / 450.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.4177, allocations: 35.11 kB / 450.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005533/0.4232, allocations: 4.298 MB / 455.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4232, allocations: 0 / 455.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.4284, allocations: 3.259 MB / 458.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/0.4293, allocations: 450.8 kB / 458.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.4296, allocations: 35.36 kB / 458.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4306, allocations: 95.97 kB / 458.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.4309, allocations: 96.8 kB / 459 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/0.431, allocations: 39.98 kB / 459 MB, free: 2.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.4331, allocations: 1.338 MB / 460.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4331, allocations: 0 / 460.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00184/0.435, allocations: 0.5542 MB / 460.9 MB, free: 0.8828 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.0005444/0.4355, allocations: 241.1 kB / 461.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005494/0.4411, allocations: 2.861 MB / 464 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4411, allocations: 7.938 kB / 464 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.443, allocations: 1.211 MB / 465.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.4455, allocations: 0.5052 MB / 465.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4558, allocations: 7.035 MB / 472.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.458, allocations: 2.431 MB / 475.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001602/0.4596, allocations: 495.4 kB / 475.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.4601, allocations: 139.4 kB / 475.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4601, allocations: 0 / 475.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of Templates: time 0.05106/0.5111, allocations: 30.06 MB / 0.494 GB, free: 4.219 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches