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.001139/0.001139, allocations: 113 kB / 17.68 MB, free: 5.355 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.001142/0.001142, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 47.66 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09206, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007403/0.0995, allocations: 6.866 MB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1026, allocations: 2.27 MB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.1029, allocations: 47.81 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.1038, allocations: 444.9 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.1049, allocations: 0.6681 MB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1053, allocations: 263.7 kB / 362 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.1076, allocations: 2.836 MB / 364.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.1101, allocations: 2.57 MB / 367.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.1117, allocations: 1.324 MB / 368.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1133, allocations: 1.541 MB / 370.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.1137, allocations: 352 kB / 370.7 MB, free: 428 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.1143, allocations: 427.9 kB / 371.1 MB, free: 0 / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1408/0.2551, allocations: 0.8875 MB / 372 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.2569, allocations: 1.524 MB / 373.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.2615, allocations: 4.61 MB / 378.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2615, allocations: 1.969 kB / 378.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2615, allocations: 3.188 kB / 378.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.2617, allocations: 0 / 378.1 MB, free: 13.82 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.005566/0.2672, allocations: 2.965 MB / 381.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2673, allocations: 9.969 kB / 381.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.2681, allocations: 307.9 kB / 381.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.2709, allocations: 1.642 MB / 383 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.271, allocations: 164.6 kB / 383.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.2713, allocations: 221.7 kB / 383.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.2765, allocations: 3.179 MB / 386.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.2765, allocations: 6.188 kB / 386.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.2767, allocations: 87.5 kB / 386.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.2768, allocations: 109.6 kB / 386.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.2807, allocations: 2.732 MB / 389.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.292, allocations: 8.764 MB / 398.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.2946, allocations: 3.375 MB / 401.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.2963, allocations: 1.328 MB / 403 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.2966, allocations: 121.5 kB / 403.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.2967, allocations: 54.44 kB / 403.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.855e-06/0.2967, allocations: 0 / 403.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.009963/0.3066, allocations: 5.754 MB / 408.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3067, allocations: 68.72 kB / 409 MB, free: 9.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.3086, allocations: 1.49 MB / 410.5 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.3087, allocations: 49.7 kB / 410.5 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.3093, allocations: 0.9435 MB / 411.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.3096, allocations: 436.2 kB / 411.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.31, allocations: 222.8 kB / 412.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3101, allocations: 360.6 kB / 412.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/0.3111, allocations: 0.6935 MB / 413.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3122, allocations: 0.8656 MB / 414 MB, free: 4.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.3143, allocations: 1.6 MB / 415.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3143, allocations: 0 / 415.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003637/0.318, allocations: 2.299 MB / 417.9 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.318, allocations: 11.98 kB / 417.9 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.318, allocations: 4 kB / 417.9 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/0.3207, allocations: 0.8289 MB / 418.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/0.3215, allocations: 207.7 kB / 419 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.3333, allocations: 11.48 MB / 430.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.3345, allocations: 51.95 kB / 430.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.3347, 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.001549/0.3362, allocations: 0.8265 MB / 431.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.3366, allocations: 162.1 kB / 431.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.3405, allocations: 2.275 MB / 433.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3405, allocations: 12 kB / 433.8 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3405, allocations: 4 kB / 433.8 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.3405, allocations: 7.969 kB / 433.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007682/0.3482, allocations: 4.717 MB / 438.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3482, allocations: 0 / 438.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.3489, allocations: 157.7 kB / 438.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.3514, allocations: 0.8156 MB / 439.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.3515, allocations: 35.98 kB / 439.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.3628, allocations: 11.37 MB / 450.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3629, allocations: 4.062 kB / 450.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/0.3677, allocations: 3.231 MB / 454.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.3688, allocations: 403.2 kB / 454.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.369, allocations: 31.98 kB / 454.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.3698, allocations: 63.94 kB / 454.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.37, allocations: 121.1 kB / 454.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.3701, allocations: 32 kB / 454.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.3716, allocations: 1.063 MB / 455.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3716, allocations: 0 / 455.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001685/0.3733, allocations: 0.5117 MB / 456.3 MB, free: 8.98 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.0004256/0.3737, allocations: 202.5 kB / 456.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.3772, allocations: 2.406 MB / 458.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3772, allocations: 4 kB / 459 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.3795, allocations: 1.63 MB / 460.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.3813, allocations: 0.5118 MB / 461.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/0.3885, allocations: 4.627 MB / 465.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.3901, allocations: 2.039 MB / 467.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008207/0.3909, allocations: 317.5 kB / 468.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.3912, allocations: 91.44 kB / 468.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3912, allocations: 0 / 468.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0531/0.4443, allocations: 32.5 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 gbode -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