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.00131/0.00131, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001275/0.001275, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.332/1.332, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009967/0.0009967, allocations: 55.7 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08674, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007884/0.09466, allocations: 6.868 MB / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.09876, allocations: 2.27 MB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.09936, allocations: 47.81 kB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.1004, allocations: 445 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1019, allocations: 0.668 MB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1023, allocations: 263.7 kB / 361.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.1048, allocations: 2.828 MB / 364.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.1075, allocations: 2.57 MB / 366.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.1099, allocations: 1.315 MB / 368 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1121, allocations: 1.533 MB / 369.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.1126, allocations: 348 kB / 369.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.1135, allocations: 431.8 kB / 370.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1535/0.267, allocations: 0.8885 MB / 371.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.2696, allocations: 1.527 MB / 372.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.2752, allocations: 4.576 MB / 377.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2752, allocations: 0 / 377.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2752, allocations: 3.938 kB / 377.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001493/0.2754, allocations: 0 / 377.3 MB, free: 13.31 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.006246/0.2816, allocations: 2.959 MB / 380.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2817, allocations: 9.156 kB / 380.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.2826, allocations: 311.8 kB / 380.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.285, allocations: 1.59 MB / 382.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.2852, allocations: 163.5 kB / 382.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.2855, allocations: 219.8 kB / 382.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/0.2909, allocations: 3.183 MB / 385.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.291, allocations: 5.156 kB / 385.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.2912, allocations: 86.97 kB / 385.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.2914, allocations: 108.4 kB / 385.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/0.2962, allocations: 2.731 MB / 388.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.3101, allocations: 8.876 MB / 397.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.3129, allocations: 3.387 MB / 400.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.3148, allocations: 1.323 MB / 402.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.3151, allocations: 126 kB / 402.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.3152, allocations: 50.19 kB / 402.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.018e-06/0.3152, allocations: 0 / 402.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01189/0.3271, allocations: 5.748 MB / 408.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.3272, allocations: 76.72 kB / 408.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.3298, allocations: 1.49 MB / 409.7 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.33, allocations: 45.7 kB / 409.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/0.3307, allocations: 0.944 MB / 410.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/0.3311, allocations: 439.7 kB / 411.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003744/0.3315, allocations: 225 kB / 411.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3317, allocations: 357.9 kB / 411.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.3328, allocations: 0.6935 MB / 412.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.334, allocations: 0.8629 MB / 413.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.3363, allocations: 1.603 MB / 414.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3363, allocations: 0 / 414.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004055/0.3403, allocations: 2.301 MB / 417.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3404, allocations: 8 kB / 417.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3404, allocations: 4 kB / 417.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.3432, allocations: 0.8368 MB / 418 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.344, allocations: 200.9 kB / 418.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.3564, allocations: 11.49 MB / 429.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3577, allocations: 52.52 kB / 429.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3578, allocations: 40 kB / 429.8 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.001454/0.3593, allocations: 0.8286 MB / 430.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.3597, allocations: 158.1 kB / 430.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.3636, allocations: 2.269 MB / 433 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3637, allocations: 12.06 kB / 433 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3637, allocations: 11.94 kB / 433.1 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3637, allocations: 7.969 kB / 433.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00783/0.3715, allocations: 4.735 MB / 437.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3716, allocations: 8.125 kB / 437.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.3722, allocations: 160.2 kB / 438 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/0.3748, allocations: 0.8102 MB / 438.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/0.3749, allocations: 30.7 kB / 438.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.387, allocations: 11.39 MB / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3871, allocations: 128 / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/0.3923, allocations: 3.233 MB / 453.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009678/0.3933, allocations: 411.1 kB / 453.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3936, allocations: 31.98 kB / 453.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.3944, allocations: 63.94 kB / 453.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.3947, allocations: 115.7 kB / 454 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.3948, allocations: 39.98 kB / 454.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.3964, allocations: 1.052 MB / 455.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3964, allocations: 0 / 455.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002097/0.3985, allocations: 0.5156 MB / 455.6 MB, free: 9.004 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.0005235/0.399, allocations: 210.6 kB / 455.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004933/0.404, allocations: 2.936 MB / 458.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.404, allocations: 0 / 458.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.4063, allocations: 1.625 MB / 460.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.4087, allocations: 0.5041 MB / 460.9 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/0.4164, allocations: 4.679 MB / 465.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.4181, allocations: 1.983 MB / 467.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.4185, allocations: 99.42 kB / 467.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4185, allocations: 0 / 467.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.07869/0.4972, allocations: 75.42 MB / 0.5304 GB, free: 1.543 MB / 446.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/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