Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001915/0.001915, allocations: 192 kB / 18.63 MB, free: 4.375 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.336/1.336, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 50.25 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09996, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007289/0.1073, allocations: 6.864 MB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.1111, allocations: 2.27 MB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005573/0.1116, allocations: 47.81 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000894/0.1126, allocations: 441 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.114, allocations: 0.6758 MB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.1144, allocations: 259.7 kB / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.117, allocations: 2.84 MB / 364.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.1199, allocations: 2.57 MB / 367.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.1226, allocations: 1.313 MB / 368.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.1251, allocations: 1.541 MB / 370.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006273/0.1258, allocations: 352 kB / 370.7 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009614/0.1268, allocations: 435.8 kB / 371.1 MB, free: 8 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1646/0.2914, allocations: 0.8857 MB / 372 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003512/0.2949, allocations: 1.526 MB / 373.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.3006, allocations: 4.61 MB / 378.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3006, allocations: 0 / 378.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3006, allocations: 0 / 378.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.685e-05/0.3008, allocations: 3.719 kB / 378.1 MB, free: 13.84 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.006305/0.3071, allocations: 2.965 MB / 381.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3071, allocations: 15.97 kB / 381.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009384/0.3081, allocations: 307.6 kB / 381.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.3109, allocations: 1.645 MB / 383 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/0.311, allocations: 163.9 kB / 383.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.3114, allocations: 217.3 kB / 383.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/0.316, allocations: 3.183 MB / 386.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.316, allocations: 0 / 386.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.3162, allocations: 91 kB / 386.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.3164, allocations: 109 kB / 386.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.3202, allocations: 2.736 MB / 389.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.3312, allocations: 8.756 MB / 398.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.3336, allocations: 3.385 MB / 401.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.3353, allocations: 1.331 MB / 403 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.3356, allocations: 118.1 kB / 403.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.3357, allocations: 53.62 kB / 403.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.376e-06/0.3357, allocations: 0 / 403.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01024/0.3459, allocations: 5.75 MB / 408.9 MB, free: 9.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.346, allocations: 72.72 kB / 409 MB, free: 9.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.348, allocations: 1.49 MB / 410.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.3481, allocations: 45.7 kB / 410.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.3487, allocations: 0.9408 MB / 411.5 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.349, allocations: 436.9 kB / 411.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.3494, allocations: 222.8 kB / 412.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3496, allocations: 357.9 kB / 412.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000986/0.3506, allocations: 0.6911 MB / 413.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.3517, allocations: 0.8688 MB / 414 MB, free: 4.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.3538, allocations: 1.605 MB / 415.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3538, allocations: 0.875 kB / 415.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003502/0.3573, allocations: 2.301 MB / 417.9 MB, free: 476 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3573, allocations: 8 kB / 417.9 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3573, allocations: 4 kB / 417.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.3599, allocations: 0.8322 MB / 418.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.3608, allocations: 201.2 kB / 419 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.3729, allocations: 11.49 MB / 430.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.3742, allocations: 47.97 kB / 430.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.3744, allocations: 40 kB / 430.5 MB, free: 3.371 MB / 334.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.00147/0.3758, allocations: 0.8316 MB / 431.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.3761, allocations: 158.1 kB / 431.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.3798, allocations: 2.27 MB / 433.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3798, allocations: 12 kB / 433.8 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.3798, allocations: 4.188 kB / 433.8 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3799, allocations: 4.828 kB / 433.8 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00751/0.3874, allocations: 4.713 MB / 438.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3874, allocations: 4.031 kB / 438.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.388, allocations: 160.6 kB / 438.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/0.3905, allocations: 0.8166 MB / 439.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.3906, allocations: 28 kB / 439.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.402, allocations: 11.37 MB / 450.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4021, allocations: 3.938 kB / 450.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.4068, allocations: 3.239 MB / 454.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.4079, allocations: 407.1 kB / 454.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.4082, allocations: 28 kB / 454.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.409, allocations: 63.94 kB / 454.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.4093, allocations: 121.1 kB / 454.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.4094, allocations: 34.91 kB / 454.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.4108, allocations: 1.056 MB / 455.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.4109, allocations: 0 / 455.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001931/0.4128, allocations: 0.5156 MB / 456.4 MB, free: 8.984 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.0005461/0.4133, allocations: 208.9 kB / 456.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.4168, allocations: 2.404 MB / 459 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4168, allocations: 0 / 459 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.4191, allocations: 1.63 MB / 460.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4213, allocations: 0.509 MB / 461.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.4288, allocations: 4.625 MB / 465.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.4305, allocations: 2.047 MB / 467.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009327/0.4314, allocations: 301.5 kB / 468.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4317, allocations: 99.42 kB / 468.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4317, allocations: 0 / 468.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of Templates: time 0.05131/0.483, allocations: 32.51 MB / 0.4889 GB, free: 13.01 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches