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.001277/0.001277, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001521/0.001521, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.286/1.286, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 42.91 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09574, allocations: 49.45 MB / 350.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008929/0.1047, allocations: 6.856 MB / 356.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004521/0.1093, allocations: 2.267 MB / 359.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.1107, allocations: 51.75 kB / 359.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1125, allocations: 453 kB / 359.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.1148, allocations: 0.6564 MB / 360.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.1156, allocations: 271.6 kB / 360.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.1186, allocations: 2.825 MB / 363.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.1213, allocations: 2.574 MB / 366 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1237, allocations: 1.315 MB / 367.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.1255, allocations: 1.529 MB / 368.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005393/0.1261, allocations: 352 kB / 369.2 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.1268, allocations: 431.8 kB / 369.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1538/0.2806, allocations: 0.885 MB / 370.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002596/0.2833, allocations: 1.527 MB / 372 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005301/0.2886, allocations: 4.577 MB / 376.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.2886, allocations: 0 / 376.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2886, allocations: 1.969 kB / 376.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00017/0.2888, allocations: 0 / 376.6 MB, free: 13.34 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.007414/0.2962, allocations: 2.964 MB / 379.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2963, allocations: 13.78 kB / 379.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/0.2971, allocations: 308.1 kB / 379.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.2996, allocations: 1.588 MB / 381.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.2997, allocations: 161.4 kB / 381.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.3, allocations: 223.1 kB / 381.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00471/0.3047, allocations: 3.183 MB / 385 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.3048, allocations: 3.938 kB / 385 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.305, allocations: 88.06 kB / 385.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.3051, allocations: 106.8 kB / 385.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/0.3091, allocations: 2.735 MB / 388 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.3206, allocations: 8.873 MB / 396.8 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.3231, allocations: 3.38 MB / 400.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.3248, allocations: 1.334 MB / 401.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.3251, allocations: 123.5 kB / 401.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3251, allocations: 51.28 kB / 401.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.196e-06/0.3251, allocations: 0 / 401.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01039/0.3355, allocations: 5.751 MB / 407.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3356, allocations: 68.72 kB / 407.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.3377, allocations: 1.493 MB / 409 MB, free: 8.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.3378, allocations: 49.7 kB / 409.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/0.3384, allocations: 0.9439 MB / 410 MB, free: 7.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.3387, allocations: 443.5 kB / 410.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.339, allocations: 218.8 kB / 410.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3392, allocations: 357.9 kB / 411 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.3402, allocations: 0.6896 MB / 411.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3412, allocations: 0.8629 MB / 412.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.3433, allocations: 1.6 MB / 414.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3433, allocations: 0 / 414.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003562/0.3469, allocations: 2.313 MB / 416.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.347, allocations: 4 kB / 416.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.347, allocations: 4 kB / 416.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.3495, allocations: 0.8338 MB / 417.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.3503, allocations: 203.6 kB / 417.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.3614, allocations: 11.49 MB / 429 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3626, allocations: 54.67 kB / 429.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.3627, allocations: 40 kB / 429.1 MB, free: 3.438 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.001326/0.364, allocations: 0.821 MB / 429.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.3645, allocations: 162.1 kB / 430.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.3685, allocations: 2.272 MB / 432.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3685, allocations: 12 kB / 432.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3686, allocations: 8 kB / 432.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.3686, allocations: 7.969 kB / 432.4 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008195/0.3768, allocations: 4.741 MB / 437.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3768, allocations: 4 kB / 437.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.3775, allocations: 159.9 kB / 437.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.38, allocations: 0.8164 MB / 438.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/0.3801, allocations: 31.98 kB / 438.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.3922, allocations: 11.39 MB / 449.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3922, allocations: 0 / 449.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/0.3979, allocations: 3.234 MB / 452.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.3992, allocations: 403.1 kB / 453.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006237/0.3999, allocations: 27.98 kB / 453.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.401, allocations: 72.02 kB / 453.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.4014, allocations: 117.1 kB / 453.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4015, allocations: 35.98 kB / 453.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.4035, allocations: 1.052 MB / 454.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4035, allocations: 0 / 454.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002513/0.406, allocations: 0.5195 MB / 455 MB, free: 9 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.0005705/0.4066, allocations: 215.4 kB / 455.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005233/0.4119, allocations: 2.932 MB / 458.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4119, allocations: 0.875 kB / 458.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.4144, allocations: 1.637 MB / 459.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/0.4177, allocations: 0.5008 MB / 460.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4278, allocations: 4.684 MB / 464.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.4308, allocations: 2.039 MB / 467 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001769/0.4326, allocations: 309.5 kB / 467.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.4331, allocations: 95.42 kB / 467.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4331, allocations: 0 / 467.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.05941/0.4926, allocations: 32.49 MB / 499.9 MB, free: 12.47 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 -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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches