Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 95.59 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.001541, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002064, allocations: 8 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09181, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007038/0.09889, allocations: 6.39 MB / 365.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.1036, allocations: 2.286 MB / 367.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.1049, allocations: 39.81 kB / 368 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.1062, allocations: 385.8 kB / 368.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1084, allocations: 0.6179 MB / 369 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.109, allocations: 247.8 kB / 369.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.1121, allocations: 3.226 MB / 372.4 MB, free: 56 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1608/0.2729, allocations: 2.132 MB / 374.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.2753, allocations: 0.9701 MB / 375.6 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2767, allocations: 1.288 MB / 376.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.277, allocations: 148.3 kB / 377 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.2776, allocations: 251.7 kB / 377.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.2781, allocations: 0.647 MB / 377.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.2792, allocations: 1.29 MB / 379.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.2829, allocations: 4.332 MB / 383.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2829, allocations: 0 / 383.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2829, allocations: 0 / 383.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.753e-05/0.283, allocations: 0 / 383.5 MB, free: 7.496 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004433/0.2874, allocations: 2.537 MB / 386 MB, free: 6.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2875, allocations: 8.625 kB / 386 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.2884, allocations: 349.5 kB / 386.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.2906, allocations: 1.602 MB / 388 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2907, allocations: 162.6 kB / 388.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.291, allocations: 221.5 kB / 388.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.2957, allocations: 3.19 MB / 391.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.2958, allocations: 0 / 391.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.296, allocations: 88.94 kB / 391.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.2961, allocations: 112.7 kB / 391.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.3001, allocations: 2.743 MB / 394.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.3129, allocations: 8.945 MB / 403.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.3165, allocations: 3.39 MB / 406.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.3186, allocations: 1.341 MB / 408.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.3189, allocations: 123.2 kB / 408.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3189, allocations: 47.88 kB / 408.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.448e-06/0.3189, allocations: 0 / 408.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01174/0.3307, allocations: 5.813 MB / 414.1 MB, free: 432 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3308, allocations: 68.72 kB / 414.2 MB, free: 348 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.3331, allocations: 1.499 MB / 415.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3333, allocations: 51.39 kB / 415.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.334, allocations: 0.938 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.3344, allocations: 445.6 kB / 417.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3346, allocations: 109.7 kB / 417.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3347, allocations: 353.9 kB / 417.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3358, allocations: 0.7013 MB / 418.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.337, allocations: 0.8694 MB / 419.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.3394, allocations: 1.616 MB / 420.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3394, allocations: 4 kB / 420.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004007/0.3434, allocations: 2.314 MB / 423.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3434, allocations: 8 kB / 423.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3434, allocations: 4 kB / 423.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/0.3463, allocations: 0.8287 MB / 423.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.3472, allocations: 202.5 kB / 424.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.3593, allocations: 10.54 MB / 434.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.3609, allocations: 51.97 kB / 434.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.361, allocations: 40 kB / 434.8 MB, free: 11.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001747/0.3628, allocations: 0.8306 MB / 435.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/0.3632, allocations: 166.1 kB / 435.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.3676, allocations: 2.287 MB / 438 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3676, allocations: 12 kB / 438.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.3676, allocations: 4 kB / 438.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3676, allocations: 7.984 kB / 438.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00845/0.3761, allocations: 4.768 MB / 442.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.3761, allocations: 4 kB / 442.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.3768, allocations: 154.7 kB / 443 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.3796, allocations: 0.8244 MB / 443.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.3797, allocations: 28 kB / 443.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.3916, allocations: 10.41 MB / 454.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3917, allocations: 0 / 454.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.3974, allocations: 3.253 MB / 457.5 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.3988, allocations: 399.1 kB / 457.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/0.3994, allocations: 31.98 kB / 457.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.4005, allocations: 71.95 kB / 458 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.4009, allocations: 113.1 kB / 458.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.401, allocations: 35.98 kB / 458.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002204/0.4032, allocations: 1.06 MB / 459.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4032, allocations: 480 / 459.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002579/0.4058, allocations: 0.5195 MB / 459.7 MB, free: 1.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006215/0.4064, allocations: 225.6 kB / 459.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.4108, allocations: 2.399 MB / 462.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4108, allocations: 0 / 462.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.4133, allocations: 1.63 MB / 464 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.4164, allocations: 489.7 kB / 464.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/0.4261, allocations: 5.721 MB / 470.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.4281, allocations: 2.039 MB / 472.2 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.4292, allocations: 313.5 kB / 472.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.4296, allocations: 95.42 kB / 472.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4296, allocations: 0 / 472.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Templates: time 0.05341/0.483, allocations: 30.52 MB / 0.4913 GB, free: 6.539 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches