Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 227.6 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 63.89 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2369, allocations: 50.55 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01001/0.2469, allocations: 7.802 MB / 418 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.2531, allocations: 2.714 MB / 420.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.2548, allocations: 75.62 kB / 420.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.2564, allocations: 0.5859 MB / 421.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.2589, allocations: 0.7614 MB / 422.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.2598, allocations: 415.4 kB / 422.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003387/0.2632, allocations: 3.284 MB / 425.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.2664, allocations: 2.659 MB / 428.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.269, allocations: 1.671 MB / 430.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.2717, allocations: 2.024 MB / 432.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.2723, allocations: 460 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2734, allocations: 0.6559 MB / 433.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.2745, allocations: 1.255 MB / 434.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.2766, allocations: 1.972 MB / 436.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.2834, allocations: 6.124 MB / 442.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2834, allocations: 0 / 442.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2834, allocations: 0 / 442.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.789e-05/0.2834, allocations: 0 / 442.7 MB, free: 0.8555 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.012/0.2954, allocations: 3.888 MB / 446.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.2955, allocations: 12.03 kB / 446.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.2979, allocations: 446.5 kB / 447 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/0.3044, allocations: 2.195 MB / 449.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.3047, allocations: 229.8 kB / 449.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007666/0.3055, allocations: 288 kB / 449.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.3175, allocations: 4.191 MB / 453.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/0.3175, allocations: 0 / 453.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.318, allocations: 120 kB / 454 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002853/0.3183, allocations: 137.9 kB / 454.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3285, allocations: 3.49 MB / 457.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/0.359, allocations: 10.8 MB / 468.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.362, allocations: 2.564 MB / 471 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.3645, allocations: 1.407 MB / 472.4 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.3648, allocations: 118.1 kB / 472.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.3648, allocations: 51.56 kB / 472.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.396e-06/0.3648, allocations: 0 / 472.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009392/0.3742, allocations: 5.204 MB / 477.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.3743, allocations: 94.53 kB / 477.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.3771, allocations: 1.925 MB / 479.8 MB, free: 11.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3772, allocations: 45.7 kB / 479.8 MB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.3783, allocations: 1.365 MB / 481.2 MB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.3787, allocations: 475.9 kB / 481.6 MB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.3791, allocations: 271.5 kB / 481.9 MB, free: 8.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3793, allocations: 305.1 kB / 482.2 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3806, allocations: 0.8237 MB / 483 MB, free: 7.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.3822, allocations: 1.175 MB / 484.2 MB, free: 6.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.3854, allocations: 2.082 MB / 486.3 MB, free: 4.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3854, allocations: 4 kB / 486.3 MB, free: 4.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004438/0.3898, allocations: 2.527 MB / 488.8 MB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.3898, allocations: 8 kB / 488.8 MB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3898, allocations: 8 kB / 488.8 MB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.3917, allocations: 487.1 kB / 489.3 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.3931, allocations: 331.5 kB / 489.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.3989, allocations: 4.397 MB / 494 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.4002, allocations: 83.92 kB / 494.1 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4003, allocations: 60 kB / 494.2 MB, free: 12.15 MB / 414.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.001775/0.4021, allocations: 1.055 MB / 495.2 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.4025, allocations: 202.7 kB / 495.4 MB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.4062, allocations: 2.133 MB / 497.6 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.4062, allocations: 19.98 kB / 497.6 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4062, allocations: 4 kB / 497.6 MB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4062, allocations: 3.984 kB / 497.6 MB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008714/0.415, allocations: 5.17 MB / 0.491 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.415, allocations: 4.219 kB / 0.491 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.416, allocations: 231.6 kB / 0.4912 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.4178, allocations: 456.3 kB / 0.4916 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.4179, allocations: 31.98 kB / 0.4917 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/0.4235, allocations: 4.302 MB / 0.4959 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4235, allocations: 7.969 kB / 0.4959 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/0.4288, allocations: 3.264 MB / 0.4991 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.4298, allocations: 467.7 kB / 0.4995 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.43, allocations: 27.98 kB / 0.4995 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4311, allocations: 91.97 kB / 0.4996 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.4313, allocations: 96.8 kB / 0.4997 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.562e-05/0.4314, allocations: 43.98 kB / 0.4998 GB, free: 10.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002/0.4334, allocations: 1.346 MB / 0.5011 GB, free: 8.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 0.5011 GB, free: 8.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4351, allocations: 0.5546 MB / 0.5016 GB, free: 8.352 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.0005876/0.4357, allocations: 228 kB / 0.5018 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003901/0.4396, allocations: 2.121 MB / 0.5039 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/0.4396, allocations: 7.938 kB / 0.5039 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4416, allocations: 1.161 MB / 0.505 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4438, allocations: 0.4994 MB / 0.5055 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/0.4538, allocations: 5.798 MB / 0.5112 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.4563, allocations: 2.431 MB / 0.5136 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.4578, allocations: 499.4 kB / 0.514 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.4582, allocations: 135.4 kB / 0.5142 GB, free: 11.38 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4582, allocations: 0 / 0.5142 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Templates: time 0.2468/0.705, allocations: 30.88 MB / 0.5443 GB, free: 124 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches